This repository was archived by the owner on Jul 2, 2024. It is now read-only.
centos-6-1.6.0
CentOS-6 6.8 x86_64 - Apache / PHP (FastCGI) / PHP memcached / PHP APC.
Release changes
- Updates source tag to 1.6.1.
- Relocates VirtualHost configuration out of app package and into the container package.
- Adds simplified php-wrapper script now that configuration is handled by the php.d/*ini scan directory includes.
- Adds restructured httpd configuration. Replaced the single template VirtualHost that was used to generate an SSL copy using the bootstrap script with 2 basic VirtualHost definitions. The majority of configuration is now pulled in from the scan directory
/etc/services-config/httpd/conf.d/*.conf
where core container configuration is prefixed with00-
. App package configuration (/var/www/app/etc/httpd/conf.d/*.conf
) files are added to this directory as part of the container build and prefixed with50-
to indicate their source and influence load order. - Adds the PHP Info script into the demo app package the source instead of generating it as part of the container build.
- Adds an increased MaxKeepAliveRequests value of 200 from the default 100.
- Removes some unused configuration scripts.
- Fixes an issue with the php-wrapper script not loading in the configuration environment variables from
/etc/httpd-bootstrap.conf
. - Adds minor improvement to the demo app's index.php to prevent errors if either the PHP Info or APC Info scripts are unavailable.
- The placeholder
{{HOSTNAME}}
will be replaced with the system (container) hostname when used in the value of the environment variableSERVICE_UID
. - Adds default of
expose_php = Off
even if the user configuration is not loaded. - Adds
PACKAGE_PATH
environment variable to the bootstrap. - Loading of app PHP configuration is now carried out in the bootstrap before starting
httpd
(Apache) and not as an image build time step. This is necessary to allow the environment variables to be replaced before being loaded by the fcgid php-wrapper script where the environment is cleared down. - Adds loading of Apache app package configuration files into the bootstrap.
- Adds enable/disable of the SSL VirtualHost configuration into the bootstrap.
- Removes configuration files now pulled in from the app package's configuration.
- Adds fix for incorrect binary defined in the latest systemd template unit-file and in the makefile environment definition.
Deprecation notice
build.sh
andrun.sh
are to be removed in the1.7.0
release. They have been replaced withmake all
ormake build install start
- Support for configuration volumes will be removed in the next release. Configuration should now be possible without requirement for a configuration data volume by using the environment variables. If a specific case is required then a data volume can still be used but will not be handled by the installation and/or systemd helper scripts.
- The systemd template unit-file
apache-php.app-1.1.1@8080.service
will be removed in the next release. This has been replaced withapache-php.app-1@.service
and etcd registration can be enabled with the companion service unit file templateapache-php.app-1.register@.service
.
Download then load the docker image using:
$ xz -dc centos-ssh-apache-php-fcgi.centos-6-1.6.0.tar.xz | docker load