This is a derivate of the offical php:5.6-apache image.
This version adds the following capabilities to the container:
mod_rewrite for Apacheiconvmcryptsoappdopdo_mysqlmysqlmysqligdTo use this image, create a Dockerfile file in your project
and add this minimal setup:
FROM inserve/php:5.6-apache
EXPOSE 80
# Add your sources (e.g. folder where your index.php is located )
ADD src/ /var/www/html/
# Change overnership of www-root to www-user
RUN cd /var/www/html && chown -R www-data:www-data .
In the current version (1.0.0) and upwards you can set the optional apache setting environment variables in your projects' docker-compose.yml (values shown are default):
environment:
START_SERVERS: 7
MIN_SPARE_SERVERS: 5
MAX_SPARE_SERVERS: 10
MAX_REQUEST_WORKERS: 41
Content type
Image
Digest
sha256:1b735dfd2…
Size
204.3 MB
Last updated
almost 11 years ago
docker pull inserve/php