Sign inSign up

irobie/docker-php-apache

By irobie

Updated about 11 years ago

Branch with a mounted /etc/php5 and /etc/apache2 folder for quickly editing config files

Image
0

1.0K

irobie/docker-php-apache repository overview

Docker Apache and PHP

Docker build for PHP and Apache

Reason I'm creating this is because I want to expose the php.ini file for editing external to this server

Sample run config:

docker run -i --name phptest -p 80:80 -v /docker/configs/web/php5:/etc/php5 -v /docker/configs/web/apache2:/etc/apache2 -v /docker/configs/web/logs/php:/var/log/php5 -v /docker/configs/web/logs/apache:/var/log/apache2 -v /docker/configs/web/content:/var/www/html -v /etc/localtime:/etc/localtime:ro docker-lamp

Tag summary

Content type

Image

Digest

sha256:f71228081

Size

95.3 MB

Last updated

about 11 years ago

docker pull irobie/docker-php-apache