Skip to content

imarc/docker-php-apache

Repository files navigation

PHP/Apache

PHP/Apache docker image for local development. Built from the official php:7.0-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

About

Local development PHP/Apache docker image

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages