Public Repository

Last pushed: 2 years ago
Short Description
PHP5.6/Apache webstack
Full Description

PHP / Apache webstack

This is a derivate of the offical
php:5.6-apache image.

This version adds the following capabilities to the container:

  • Node.js v0.10.x (stable)
  • Enables Zend OPcache
  • Enable mod_rewrite for Apache
  • Additional PHP extensions:
    • iconv
    • mcrypt
    • soap
    • pdo
    • pdo_mysql
    • mysql
    • mysqli
    • gd

To 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
Docker Pull Command
Owner
inserve

Comments (0)