This repository contains the Dockerfile for Apache PHP-5.5 & Ubuntu 14.04
Basic packages
- Apache
- PHP 5.5.38
- Extensions
- Geoip
- Aerospike
- Memcached
- Imagick
- pHash
- Xdebug
- Extensions
- To build the image
docker build -t rmondragon/php5 .
- The following will run
rmondragon/php5
default setup though port 8080. To check phpinfo, browse http://localhost:8080/phpinfo.php
docker run -d -p 8080:80 --name <CONTAINER_NAME> rmondragon/php5
- To mount your local php project, and it will start in /htdocs
docker run -d -p 8080:80 -v <PATH>:/var/www --name php5 rmondragon/php5
This image is officially supported on Docker version 1.12
If you have any problems with or questions about this image, please contact us through a GitHub issue.
You are invited to contribute new features, fixes, or updates, large or small; we are always thrilled to receive pull requests, and do our best to process them as fast as we can.