fauria/lap
Centos 7 + Apache + PHP based. Supports htaccess and many PHP5 features, including mail() function.
100K+
This Docker container implements a LAP stack, as well as some popular PHP modules and a Postfix service to allow sending emails through PHP mail() function.
If you are looking for a modern, developer friendly container for your latest app, maybe fauria/lamp suits your needs better.
Includes the following components:
Includes support for MongoDB and ImageMagick via PECL.
You can download the image using the following command:
docker pull fauria/lap
This image uses environment variables to allow the configuration of some parameteres at run time:
LOG_STDOUT
LOG_STDERR
LOG_LEVEL
ALLOW_OVERRIDE
All
) or disable (None
) the usage of an .htaccess
file.DATE_TIMEZONE
The image exposes port 80
and exports two volumes: /var/log/httpd
, which contains Apache's logs, and /var/www/html
, used as Apache's DocumentRoot directory.
The user and group owner id for this directory are both 48 (uid=48(apache) gid=48(apache) groups=48(apache)
).
docker run --rm fauria/lap
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 fauria/lap
docker run -d --link my-mysql-container:mysql -p 8080:80 -v /my/data/directory:/var/www/html -v /my/logs/directory:/var/log/httpd --name my-lap-container fauria/lap
docker pull fauria/lap