Ubuntu (xenial or bionic) with apache 2.4 and php 7.2, 7.1, 7.0 or 5.6
1.2K
Docker image based on Ubuntu that embeds apache 2.4 server and PHP
composer.phar)By default apache DocumentRoot is configured to /var/www folder.
Apache sites are configured in folder /etc/apache2/sites-enabled.
docker run -d -v /your_site_base_folder:/var/www -p 80:80 pgeof/apache-php
Start an apache webserver available on TCP port 80 on your machine. The document root folder is the one you specify after the -v parameter.
docker run -d -v /your_site_base_folder:/var/www -v /your_apache_site_config:/etc/apache2/sites-enabled -p 80:80 pgeof/apache-php
Same command as previous, but this time apache sites configuration must be defined in the folder you specify after the second -v parameter.
Content type
Image
Digest
Size
94.1 MB
Last updated
about 8 years ago
docker pull pgeof/apache-php