Docker image with Apache and PHP7
Use as image tag pensiero/apache-php.
While running, Apache is gonna look by default at the content of the folder /var/www.
Use that as mount point for your volumes.
The master branch is always associated with the latest tag of the Docker image.
This repository also comes with different feature branches for different Docker image tags.
For example, the branch: feature/php71 is associated with the tag php7.1.
PHP 7.4
Check out all the available tags on Docker Hub.
If you wanna use a different php version, you can leverage any of the following images:
PHP 5.6-->pensiero/apache-php:php5.6PHP 7.0-->pensiero/apache-php:php7.0PHP 7.1-->pensiero/apache-php:php7.1PHP 7.2-->pensiero/apache-php:php7.2PHP 7.4-->pensiero/apache-php:php7.4