Fork from webgriffe/php-apache-base
1.4K
Dockerized environment for PHP web development and Apache web server.
APACHE_DOC_ROOT environment variable. Default document root is /var/www/htmlAPACHE_DOC_ROOT_ALIAS (no trailing slash!)date.timezone through PHP_TIMEZONE environment variable. Default timezone is Europe/Rome/usr/local/bin/composerXDEBUG_ENABLE environment variable which has to be set to 1MEMPROF_ENABLE environment variable which has to be set to 1HOST_IP environment variable.SSMTP_MAILHUB, SSMTP_AUTH_USER and SSMTP_AUTH_PASS environment variablesStandalone usage example with host's current working directory as document root:
$ docker run -p 80:80 -v $(pwd):/var/www/html webgriffe/php-apache-base
Before starting the docker container: Set config variable XDEBUG_ENABLE to 1
Enable profiling by adding XDEBUG_PROFILE to the GET/POST Variables or as a cookie.
Content type
Image
Digest
Size
229.3 MB
Last updated
over 7 years ago
docker pull benjaminpick/php-apache-base