This Docker container implements a last generation LAMP stack with a set of popular PHP modules.
1.1K
This Docker container implements a last generation LAMP stack with a set of popular PHP modules. Includes support for Composer, Bower and npm package managers and a Postfix service to allow sending emails through PHP mail() function.
Includes the following components:
You can download the image using the following command:
docker pull AKhmelik/php7
The image exposes ports 80 and 3306, and exports four volumes:
/var/log/httpd, containing Apache log files./var/log/mysql containing MariaDB log files./var/www/html, used as Apache's DocumentRoot directory./var/lib/mysql, where MariaDB data files are stores.The user and group owner id for the DocumentRoot directory /var/www/html are both 33 (uid=33(www-data) gid=33(www-data) groups=33(www-data)).
The user and group owner id for the MariaDB directory /var/log/mysql are 105 and 108 repectively (uid=105(mysql) gid=108(mysql) groups=108(mysql)).
docker run -i -t --rm AKhmelik/php7 bash
docker run --rm -p 8080:80 -e LOG_STDOUT=true -e LOG_STDERR=true -e LOG_LEVEL=debug -v /my/data/directory:/var/www/html AKhmelik/php7
Content type
Image
Digest
Size
347.8 MB
Last updated
over 9 years ago
docker pull akhmelik/php7