imarcagency/php-apache

By imarcagency

Updated over 6 years ago

Local development PHP/Apache image

Image
0

2.0K

PHP/Apache

PHP/Apache docker image for local development. Built from the official php:5.6-apache image.

View on Docker Hub

Included PHP Extensions

iconv, mcrypt, opcache, curl, gd, mysqli, pdo, pdo_pgsql, pdo_mysql, pdo_sqlite, pgsql, zip, memcached, imagick, redis, xdebug

Configuration

The following environment variables can be used to configure apache VirtualHost. Look at the configure script to see how these variables are used.

  • APACHE_ROOT (string) The DocumentRoot value. Defaults to /var/www/public

  • APACHE_AUTH_BASIC (bool) Enable Basic Auth by setting to 1. Defaults to 0

  • APACHE_AUTH_NAME (string) The name of the basic auth prompt. Defaults to Secured Environment

  • APACHE_AUTH_FILE (string) The path to the .htpasswd file. Defaults to /var/www/.htpasswd

Docker Pull Command

docker pull imarcagency/php-apache