An docker image to run PHP locally as your dev environment.
7.1 Apache Image --- Main Branch Always the latest PHP version
- Linux
- Mac OS
Separate branchs for each php version. Suggest ideas and improvments!
- Put your sites URL in your local hosts file.
- Put your sites *.conf on the config directory.
docker build -t caio/php71 .
docker run -ti -p 80:80 --name php-local -v /var/www/html:/var/www/html -d caio/php71Enable your sites like you do in your local apache
Because this image pretend to be your work environment you need to set your file permissions manually for each project, inside the container