Docker image with Apache, PHP7 and Mysql.
Use as image tag pensiero/apache-php-mysql
.
While running, Apache is gonna look by default at the content of the folder /var/www
.
Use that as mount point for your volumes.
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-mysql:php5.6
PHP 7.1
--> pensiero/apache-php-mysql:php7.1
PHP 7.2
--> pensiero/apache-php-mysql:php7.2
PHP 7.4
--> pensiero/apache-php-mysql:php7.4