Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

PHP with Apache container layout

Automated build and tested by WebDevOps Build Server

Container Distribution name PHP Version
webdevops/php-apache:ubuntu-12.04 precise PHP 5.3
webdevops/php-apache:ubuntu-14.04 trusty (LTS) PHP 5.5
webdevops/php-apache:ubuntu-15.04 vivid PHP 5.6
webdevops/php-apache:ubuntu-15.10 wily PHP 5.6
webdevops/php-apache:ubuntu-16.04 xenial (LTS) PHP 7.0
webdevops/php-apache:ubuntu-16.10 yakkety PHP 7.0
webdevops/php-apache:ubuntu-17.04 zesty PHP 7.0
webdevops/php-apache:ubuntu-17.10 artful PHP 7.0
webdevops/php-apache:ubuntu-18.04 bionic (LTS) PHP 7.2
webdevops/php-apache:debian-7 wheezy PHP 5.4
webdevops/php-apache:debian-8 jessie PHP 5.6
webdevops/php-apache:debian-8-php7 jessie with dotdeb PHP 7.x (via dotdeb)
webdevops/php-apache:debian-9 stretch PHP 7.0
webdevops/php-apache:centos-7 PHP 5.4

Filesystem layout

Directory Description
/opt/docker/etc/httpd Apache configuration
/opt/docker/etc/httpd/ssl Apache ssl configuration with example server.crt, server.csr, server.key
File Description
/opt/docker/etc/httpd/main.conf Main include file (will include global.conf, php.conf and vhost.conf)
/opt/docker/etc/httpd/global.conf Global apache configuration options
/opt/docker/etc/httpd/php.conf PHP configuration (connection to FPM)
/opt/docker/etc/httpd/vhost.common.conf Vhost common stuff (placeholder)
/opt/docker/etc/httpd/vhost.conf Default vhost
/opt/docker/etc/httpd/vhost.ssl.conf Default ssl configuration for vhost
/opt/docker/etc/php/fpm/php-fpm.conf PHP FPM daemon configuration
/opt/docker/etc/php/fpm/pool.d/application.conf PHP FPM pool configuration

Environment variables

Variable Description
CLI_SCRIPT Predefined CLI script for service
APPLICATION_UID PHP-FPM UID (Effective user ID)
APPLICATION_GID PHP-FPM GID (Effective group ID)
WEB_DOCUMENT_ROOT Document root for Nginx
WEB_DOCUMENT_INDEX Document index (eg. index.php) for Nginx
WEB_ALIAS_DOMAIN Alias domains (eg. *.vm) for Nginx

Container info

Image Info
webdevops/php-apache:latest
webdevops/php-apache:ubuntu-14.04
webdevops/php-apache:ubuntu-15.04
webdevops/php-apache:ubuntu-15.10
webdevops/php-apache:ubuntu-16.04
webdevops/php-apache:ubuntu-16.10
webdevops/php-apache:ubuntu-17.04
webdevops/php-apache:ubuntu-17.10
webdevops/php-apache:ubuntu-18.04
webdevops/php-apache:centos-7
webdevops/php-apache:debian-7
webdevops/php-apache:debian-8-php7
webdevops/php-apache:debian-8
webdevops/php-apache:debian-9