Skip to content

This is a Docker image for helping developers to build PHP 7.4 development environment easily.

Notifications You must be signed in to change notification settings

peter279k/php7.4-dev-env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

php7.4-dev-env

This is a Docker image for helping developers to build PHP 7.4 development environment easily.

Introduction

To be easy to build your PHP-7.4 dev easily, this is an option for developers to build this environment happily.

Usage

Step 1

We assume that you've an Docker command installed on your operating system.

Step 2

Using the following command to download this Docker image.

peter279k/php7.4-dev

Step 3

Using the following command to check this image is added currently in your Docker repositories.

docker images | grep peter279k/php7.4-dev

Step 4

Clone the PHP source code reposirory via git command then running cd php-src.

git clone https://github.com/php/php-src.git && cd php-src

Step 5

Running Docker command to mount php-src directory and enter into this image via intercative shell

docker run -it -v $(pwd):/root/PHP-7.4 peter279k/php7.4-dev:CURRENT_TAG_NAME

Step 6

Using cd /root/PHP-7.4 to change current directory to the PHP source code repositoy folder

Step 7

Running following shell script to compile a PHP binary for Travis CI build

git checkout PHP-7.4 && ./travis/compile.sh

Step 8

Once compiling PHP source code is done, you can use following comand to check this.

sapi/cli/php -v

Happy coding!

About

This is a Docker image for helping developers to build PHP 7.4 development environment easily.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published