Deprecated ! Docker image for running Apache 2 with PHP 7.4
10K+
Ubuntu 18.04
Apache 2
PHP 7.4
To create the base image mboyov/apache2-php74, execute the following command:
docker build -t mboyov/apache2-php74 .
Running your Apache and PHP docker image
Start your image binding the external ports 80 in all interfaces to your container:
docker run -d -p 80:80 mboyov/apache2-php74
In the docker-compose.yml file replace the volume line "/var/www" with your working directory and execute the following command:
docker-compose up
Content type
Image
Digest
Size
180.7 MB
Last updated
over 6 years ago
docker pull mboyov/apache2-php74