├── .gitignore ├── php55 ├── .gitignore ├── root │ ├── opt │ │ └── rh │ │ │ └── php55 │ │ │ └── root │ │ │ └── etc │ │ │ └── php.d │ │ │ ├── buildtimezone.ini │ │ │ └── opcache.ini │ ├── etc │ │ ├── confd │ │ │ ├── conf.d │ │ │ │ └── startuptime.toml │ │ │ └── templates │ │ │ │ └── startuptime.tmpl │ │ ├── cont-init.d │ │ │ └── 30-node-nvm │ │ ├── drush │ │ │ └── drushrc.php │ │ └── profile.d │ │ │ └── switch_bash_history.sh │ ├── versions.sh │ ├── init │ └── outrigger-key.sh └── Dockerfile ├── php56 ├── .gitignore ├── root │ ├── etc │ │ ├── opt │ │ │ └── rh │ │ │ │ └── rh-php56 │ │ │ │ └── php.d │ │ │ │ ├── buildtimezone.ini │ │ │ │ └── 10-opcache.ini │ │ ├── confd │ │ │ ├── conf.d │ │ │ │ ├── startuptime.toml │ │ │ │ ├── xdebug.ini.toml │ │ │ │ └── yaml.ini.toml │ │ │ └── templates │ │ │ │ ├── startuptime.tmpl │ │ │ │ ├── xdebug.ini.tmpl │ │ │ │ └── yaml.ini.tmpl │ │ ├── cont-init.d │ │ │ └── 30-node-nvm │ │ ├── drush │ │ │ └── drushrc.php │ │ └── profile.d │ │ │ └── switch_bash_history.sh │ ├── versions.sh │ ├── init │ └── outrigger-key.sh └── Dockerfile ├── php70 ├── .gitignore ├── root │ ├── etc │ │ ├── opt │ │ │ └── remi │ │ │ │ └── php70 │ │ │ │ ├── php.d │ │ │ │ ├── 90-redis.ini │ │ │ │ ├── buildtimezone.ini │ │ │ │ └── 10-opcache.ini │ │ │ │ └── php.ini │ │ ├── confd │ │ │ ├── conf.d │ │ │ │ ├── startuptime.toml │ │ │ │ ├── yaml.ini.toml │ │ │ │ └── xdebug.ini.toml │ │ │ └── templates │ │ │ │ ├── startuptime.tmpl │ │ │ │ ├── xdebug.ini.tmpl │ │ │ │ └── yaml.ini.tmpl │ │ ├── cont-init.d │ │ │ └── 30-node-nvm │ │ ├── drush │ │ │ └── drushrc.php │ │ └── profile.d │ │ │ └── switch_bash_history.sh │ ├── versions.sh │ ├── init │ └── outrigger-key.sh └── Dockerfile ├── php71 ├── .gitignore ├── root │ ├── etc │ │ ├── opt │ │ │ └── remi │ │ │ │ └── php71 │ │ │ │ └── php.d │ │ │ │ ├── 90-redis.ini │ │ │ │ ├── buildtimezone.ini │ │ │ │ └── 10-opcache.ini │ │ ├── confd │ │ │ ├── conf.d │ │ │ │ ├── startuptime.toml │ │ │ │ ├── yaml.ini.toml │ │ │ │ └── xdebug.ini.toml │ │ │ └── templates │ │ │ │ ├── startuptime.tmpl │ │ │ │ ├── xdebug.ini.tmpl │ │ │ │ └── yaml.ini.tmpl │ │ ├── cont-init.d │ │ │ └── 30-node-nvm │ │ ├── drush │ │ │ └── drushrc.php │ │ └── profile.d │ │ │ └── switch_bash_history.sh │ ├── versions.sh │ ├── init │ └── outrigger-key.sh └── Dockerfile ├── php72 ├── .gitignore ├── root │ ├── etc │ │ ├── opt │ │ │ └── remi │ │ │ │ └── php72 │ │ │ │ └── php.d │ │ │ │ ├── 90-redis.ini │ │ │ │ ├── buildtimezone.ini │ │ │ │ └── 10-opcache.ini │ │ ├── confd │ │ │ ├── conf.d │ │ │ │ ├── startuptime.toml │ │ │ │ ├── yaml.ini.toml │ │ │ │ └── xdebug.ini.toml │ │ │ └── templates │ │ │ │ ├── startuptime.tmpl │ │ │ │ ├── xdebug.ini.tmpl │ │ │ │ └── yaml.ini.tmpl │ │ ├── cont-init.d │ │ │ └── 30-node-nvm │ │ ├── drush │ │ │ └── drushrc.php │ │ └── profile.d │ │ │ └── switch_bash_history.sh │ ├── versions.sh │ ├── init │ └── outrigger-key.sh └── Dockerfile ├── php73 ├── .gitignore ├── root │ ├── etc │ │ ├── opt │ │ │ └── remi │ │ │ │ └── php73 │ │ │ │ └── php.d │ │ │ │ ├── 90-redis.ini │ │ │ │ ├── buildtimezone.ini │ │ │ │ └── 10-opcache.ini │ │ ├── confd │ │ │ ├── conf.d │ │ │ │ ├── startuptime.toml │ │ │ │ ├── yaml.ini.toml │ │ │ │ └── xdebug.ini.toml │ │ │ └── templates │ │ │ │ ├── startuptime.tmpl │ │ │ │ ├── xdebug.ini.tmpl │ │ │ │ └── yaml.ini.tmpl │ │ ├── cont-init.d │ │ │ └── 30-node-nvm │ │ ├── drush │ │ │ └── drushrc.php │ │ └── profile.d │ │ │ └── switch_bash_history.sh │ ├── versions.sh │ ├── init │ └── outrigger-key.sh └── Dockerfile └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | # Created by .ignore support plugin (hsz.mobi) 2 | .idea -------------------------------------------------------------------------------- /php55/.gitignore: -------------------------------------------------------------------------------- 1 | # Created by .ignore support plugin (hsz.mobi) 2 | .idea -------------------------------------------------------------------------------- /php56/.gitignore: -------------------------------------------------------------------------------- 1 | # Created by .ignore support plugin (hsz.mobi) 2 | .idea -------------------------------------------------------------------------------- /php70/.gitignore: -------------------------------------------------------------------------------- 1 | # Created by .ignore support plugin (hsz.mobi) 2 | .idea -------------------------------------------------------------------------------- /php70/root/etc/opt/remi/php70/php.d/90-redis.ini: -------------------------------------------------------------------------------- 1 | extension=redis.so 2 | -------------------------------------------------------------------------------- /php71/.gitignore: -------------------------------------------------------------------------------- 1 | # Created by .ignore support plugin (hsz.mobi) 2 | .idea -------------------------------------------------------------------------------- /php71/root/etc/opt/remi/php71/php.d/90-redis.ini: -------------------------------------------------------------------------------- 1 | extension=redis.so 2 | -------------------------------------------------------------------------------- /php72/.gitignore: -------------------------------------------------------------------------------- 1 | # Created by .ignore support plugin (hsz.mobi) 2 | .idea -------------------------------------------------------------------------------- /php72/root/etc/opt/remi/php72/php.d/90-redis.ini: -------------------------------------------------------------------------------- 1 | extension=redis.so 2 | -------------------------------------------------------------------------------- /php73/.gitignore: -------------------------------------------------------------------------------- 1 | # Created by .ignore support plugin (hsz.mobi) 2 | .idea -------------------------------------------------------------------------------- /php73/root/etc/opt/remi/php73/php.d/90-redis.ini: -------------------------------------------------------------------------------- 1 | extension=redis.so 2 | -------------------------------------------------------------------------------- /php55/root/opt/rh/php55/root/etc/php.d/buildtimezone.ini: -------------------------------------------------------------------------------- 1 | date.timezone = America/New_York 2 | -------------------------------------------------------------------------------- /php56/root/etc/opt/rh/rh-php56/php.d/buildtimezone.ini: -------------------------------------------------------------------------------- 1 | date.timezone = America/New_York 2 | -------------------------------------------------------------------------------- /php70/root/etc/opt/remi/php70/php.d/buildtimezone.ini: -------------------------------------------------------------------------------- 1 | date.timezone = America/New_York 2 | -------------------------------------------------------------------------------- /php71/root/etc/opt/remi/php71/php.d/buildtimezone.ini: -------------------------------------------------------------------------------- 1 | date.timezone = America/New_York 2 | -------------------------------------------------------------------------------- /php72/root/etc/opt/remi/php72/php.d/buildtimezone.ini: -------------------------------------------------------------------------------- 1 | date.timezone = America/New_York 2 | -------------------------------------------------------------------------------- /php73/root/etc/opt/remi/php73/php.d/buildtimezone.ini: -------------------------------------------------------------------------------- 1 | date.timezone = America/New_York 2 | -------------------------------------------------------------------------------- /php55/root/etc/confd/conf.d/startuptime.toml: -------------------------------------------------------------------------------- 1 | [template] 2 | src="startuptime.tmpl" 3 | dest="/var/log/services/README.txt" 4 | keys=[ 5 | "/", 6 | ] 7 | -------------------------------------------------------------------------------- /php56/root/etc/confd/conf.d/startuptime.toml: -------------------------------------------------------------------------------- 1 | [template] 2 | src="startuptime.tmpl" 3 | dest="/var/log/services/README.txt" 4 | keys=[ 5 | "/", 6 | ] 7 | -------------------------------------------------------------------------------- /php70/root/etc/confd/conf.d/startuptime.toml: -------------------------------------------------------------------------------- 1 | [template] 2 | src="startuptime.tmpl" 3 | dest="/var/log/services/README.txt" 4 | keys=[ 5 | "/", 6 | ] 7 | -------------------------------------------------------------------------------- /php71/root/etc/confd/conf.d/startuptime.toml: -------------------------------------------------------------------------------- 1 | [template] 2 | src="startuptime.tmpl" 3 | dest="/var/log/services/README.txt" 4 | keys=[ 5 | "/", 6 | ] 7 | -------------------------------------------------------------------------------- /php72/root/etc/confd/conf.d/startuptime.toml: -------------------------------------------------------------------------------- 1 | [template] 2 | src="startuptime.tmpl" 3 | dest="/var/log/services/README.txt" 4 | keys=[ 5 | "/", 6 | ] 7 | -------------------------------------------------------------------------------- /php73/root/etc/confd/conf.d/startuptime.toml: -------------------------------------------------------------------------------- 1 | [template] 2 | src="startuptime.tmpl" 3 | dest="/var/log/services/README.txt" 4 | keys=[ 5 | "/", 6 | ] 7 | -------------------------------------------------------------------------------- /php55/root/etc/confd/templates/startuptime.tmpl: -------------------------------------------------------------------------------- 1 | This container was started at {{datetime}}. 2 | 3 | The logs for various services in the container will be written to this directory. 4 | -------------------------------------------------------------------------------- /php55/root/etc/cont-init.d/30-node-nvm: -------------------------------------------------------------------------------- 1 | #!/usr/bin/with-contenv bash 2 | echo "Setting node version to: $NODE_VERSION" 3 | source $HOME/.nvm/nvm.sh && nvm alias default $NODE_VERSION 4 | -------------------------------------------------------------------------------- /php56/root/etc/confd/templates/startuptime.tmpl: -------------------------------------------------------------------------------- 1 | This container was started at {{datetime}}. 2 | 3 | The logs for various services in the container will be written to this directory. 4 | -------------------------------------------------------------------------------- /php56/root/etc/cont-init.d/30-node-nvm: -------------------------------------------------------------------------------- 1 | #!/usr/bin/with-contenv bash 2 | echo "Setting node version to: $NODE_VERSION" 3 | source $HOME/.nvm/nvm.sh && nvm alias default $NODE_VERSION 4 | -------------------------------------------------------------------------------- /php70/root/etc/confd/templates/startuptime.tmpl: -------------------------------------------------------------------------------- 1 | This container was started at {{datetime}}. 2 | 3 | The logs for various services in the container will be written to this directory. 4 | -------------------------------------------------------------------------------- /php70/root/etc/cont-init.d/30-node-nvm: -------------------------------------------------------------------------------- 1 | #!/usr/bin/with-contenv bash 2 | echo "Setting node version to: $NODE_VERSION" 3 | source $HOME/.nvm/nvm.sh && nvm alias default $NODE_VERSION 4 | -------------------------------------------------------------------------------- /php71/root/etc/confd/templates/startuptime.tmpl: -------------------------------------------------------------------------------- 1 | This container was started at {{datetime}}. 2 | 3 | The logs for various services in the container will be written to this directory. 4 | -------------------------------------------------------------------------------- /php71/root/etc/cont-init.d/30-node-nvm: -------------------------------------------------------------------------------- 1 | #!/usr/bin/with-contenv bash 2 | echo "Setting node version to: $NODE_VERSION" 3 | source $HOME/.nvm/nvm.sh && nvm alias default $NODE_VERSION 4 | -------------------------------------------------------------------------------- /php72/root/etc/confd/templates/startuptime.tmpl: -------------------------------------------------------------------------------- 1 | This container was started at {{datetime}}. 2 | 3 | The logs for various services in the container will be written to this directory. 4 | -------------------------------------------------------------------------------- /php72/root/etc/cont-init.d/30-node-nvm: -------------------------------------------------------------------------------- 1 | #!/usr/bin/with-contenv bash 2 | echo "Setting node version to: $NODE_VERSION" 3 | source $HOME/.nvm/nvm.sh && nvm alias default $NODE_VERSION 4 | -------------------------------------------------------------------------------- /php73/root/etc/confd/templates/startuptime.tmpl: -------------------------------------------------------------------------------- 1 | This container was started at {{datetime}}. 2 | 3 | The logs for various services in the container will be written to this directory. 4 | -------------------------------------------------------------------------------- /php73/root/etc/cont-init.d/30-node-nvm: -------------------------------------------------------------------------------- 1 | #!/usr/bin/with-contenv bash 2 | echo "Setting node version to: $NODE_VERSION" 3 | source $HOME/.nvm/nvm.sh && nvm alias default $NODE_VERSION 4 | -------------------------------------------------------------------------------- /php56/root/etc/confd/conf.d/xdebug.ini.toml: -------------------------------------------------------------------------------- 1 | [template] 2 | src = "xdebug.ini.tmpl" 3 | dest = "/etc/opt/rh/rh-php56/php.d/15-xdebug.ini" 4 | uid = 0 5 | gid = 0 6 | mode = "0644" 7 | keys = [] -------------------------------------------------------------------------------- /php56/root/etc/confd/conf.d/yaml.ini.toml: -------------------------------------------------------------------------------- 1 | [template] 2 | src = "yaml.ini.tmpl" 3 | dest = "/etc/opt/rh/rh-php56/php.d/40-yaml.ini" 4 | uid = 0 5 | gid = 0 6 | mode = "0644" 7 | keys = [] 8 | -------------------------------------------------------------------------------- /php70/root/etc/confd/conf.d/yaml.ini.toml: -------------------------------------------------------------------------------- 1 | [template] 2 | src = "yaml.ini.tmpl" 3 | dest = "/etc/opt/remi/php70/php.d/40-yaml.ini" 4 | uid = 0 5 | gid = 0 6 | mode = "0644" 7 | keys = [] 8 | -------------------------------------------------------------------------------- /php71/root/etc/confd/conf.d/yaml.ini.toml: -------------------------------------------------------------------------------- 1 | [template] 2 | src = "yaml.ini.tmpl" 3 | dest = "/etc/opt/remi/php71/php.d/40-yaml.ini" 4 | uid = 0 5 | gid = 0 6 | mode = "0644" 7 | keys = [] 8 | -------------------------------------------------------------------------------- /php72/root/etc/confd/conf.d/yaml.ini.toml: -------------------------------------------------------------------------------- 1 | [template] 2 | src = "yaml.ini.tmpl" 3 | dest = "/etc/opt/remi/php72/php.d/40-yaml.ini" 4 | uid = 0 5 | gid = 0 6 | mode = "0644" 7 | keys = [] 8 | -------------------------------------------------------------------------------- /php73/root/etc/confd/conf.d/yaml.ini.toml: -------------------------------------------------------------------------------- 1 | [template] 2 | src = "yaml.ini.tmpl" 3 | dest = "/etc/opt/remi/php73/php.d/40-yaml.ini" 4 | uid = 0 5 | gid = 0 6 | mode = "0644" 7 | keys = [] 8 | -------------------------------------------------------------------------------- /php70/root/etc/confd/conf.d/xdebug.ini.toml: -------------------------------------------------------------------------------- 1 | [template] 2 | src = "xdebug.ini.tmpl" 3 | dest = "/etc/opt/remi/php70/php.d/15-xdebug.ini" 4 | uid = 0 5 | gid = 0 6 | mode = "0644" 7 | keys = [] 8 | -------------------------------------------------------------------------------- /php71/root/etc/confd/conf.d/xdebug.ini.toml: -------------------------------------------------------------------------------- 1 | [template] 2 | src = "xdebug.ini.tmpl" 3 | dest = "/etc/opt/remi/php71/php.d/15-xdebug.ini" 4 | uid = 0 5 | gid = 0 6 | mode = "0644" 7 | keys = [] 8 | -------------------------------------------------------------------------------- /php72/root/etc/confd/conf.d/xdebug.ini.toml: -------------------------------------------------------------------------------- 1 | [template] 2 | src = "xdebug.ini.tmpl" 3 | dest = "/etc/opt/remi/php72/php.d/15-xdebug.ini" 4 | uid = 0 5 | gid = 0 6 | mode = "0644" 7 | keys = [] 8 | -------------------------------------------------------------------------------- /php73/root/etc/confd/conf.d/xdebug.ini.toml: -------------------------------------------------------------------------------- 1 | [template] 2 | src = "xdebug.ini.tmpl" 3 | dest = "/etc/opt/remi/php73/php.d/15-xdebug.ini" 4 | uid = 0 5 | gid = 0 6 | mode = "0644" 7 | keys = [] 8 | -------------------------------------------------------------------------------- /php55/root/etc/drush/drushrc.php: -------------------------------------------------------------------------------- 1 | &1 7 | 8 | # Send stdout to the log file 9 | exec > $LOGFILE 10 | 11 | # Fix perms on /var/log/services 12 | find /var/log/services -print0 | xargs -0 -r chown nobody 13 | find /var/log/services -type d -print0 | xargs -0 -r chmod 755 14 | find /var/log/services -type f -print0 | xargs -0 -r chmod 644 15 | 16 | # Run confd 17 | confd $CONFD_OPTS >& $CONFD_LOGFILE 18 | 19 | # Handle DevTools private key 20 | /outrigger-key.sh 21 | 22 | # Setup NVM 23 | echo "=> Setting node version to: $NODE_VERSION" 24 | bash --login -c "$NVM_DIR/nvm.sh && nvm alias default $NODE_VERSION" 25 | 26 | # Restore stdout and close file descriptor #6. 27 | exec 1>&6 6>&- 28 | 29 | # Run the CMD 30 | bash --login -c "$*" 31 | -------------------------------------------------------------------------------- /php56/root/init: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | LOGFILE="/var/log/outrigger.log" 3 | CONFD_LOGFILE="/var/log/confd.log" 4 | 5 | # Link file descriptor #6 with stdout, save stdout 6 | exec 6>&1 7 | 8 | # Send stdout to the log file 9 | exec > $LOGFILE 10 | 11 | # Fix perms on /var/log/services 12 | find /var/log/services -print0 | xargs -0 -r chown nobody 13 | find /var/log/services -type d -print0 | xargs -0 -r chmod 755 14 | find /var/log/services -type f -print0 | xargs -0 -r chmod 644 15 | 16 | # Run confd 17 | confd $CONFD_OPTS >& $CONFD_LOGFILE 18 | 19 | # Handle Outrigger private key 20 | /outrigger-key.sh 21 | 22 | # Setup NVM 23 | echo "=> Setting node version to: $NODE_VERSION" 24 | bash --login -c "$NVM_DIR/nvm.sh && nvm alias default $NODE_VERSION" 25 | 26 | # Restore stdout and close file descriptor #6. 27 | exec 1>&6 6>&- 28 | 29 | # Run the CMD 30 | bash --login -c "$*" 31 | -------------------------------------------------------------------------------- /php70/root/init: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | LOGFILE="/var/log/outrigger.log" 3 | CONFD_LOGFILE="/var/log/confd.log" 4 | 5 | # Link file descriptor #6 with stdout, save stdout 6 | exec 6>&1 7 | 8 | # Send stdout to the log file 9 | exec > $LOGFILE 10 | 11 | # Fix perms on /var/log/services 12 | find /var/log/services -print0 | xargs -0 -r chown nobody 13 | find /var/log/services -type d -print0 | xargs -0 -r chmod 755 14 | find /var/log/services -type f -print0 | xargs -0 -r chmod 644 15 | 16 | # Run confd 17 | confd $CONFD_OPTS >& $CONFD_LOGFILE 18 | 19 | # Handle Outrigger private key 20 | /outrigger-key.sh 21 | 22 | # Setup NVM 23 | echo "=> Setting node version to: $NODE_VERSION" 24 | bash --login -c "$NVM_DIR/nvm.sh && nvm alias default $NODE_VERSION" 25 | 26 | # Restore stdout and close file descriptor #6. 27 | exec 1>&6 6>&- 28 | 29 | # Run the CMD 30 | bash --login -c "$*" 31 | -------------------------------------------------------------------------------- /php71/root/init: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | LOGFILE="/var/log/outrigger.log" 3 | CONFD_LOGFILE="/var/log/confd.log" 4 | 5 | # Link file descriptor #6 with stdout, save stdout 6 | exec 6>&1 7 | 8 | # Send stdout to the log file 9 | exec > $LOGFILE 10 | 11 | # Fix perms on /var/log/services 12 | find /var/log/services -print0 | xargs -0 -r chown nobody 13 | find /var/log/services -type d -print0 | xargs -0 -r chmod 755 14 | find /var/log/services -type f -print0 | xargs -0 -r chmod 644 15 | 16 | # Run confd 17 | confd $CONFD_OPTS >& $CONFD_LOGFILE 18 | 19 | # Handle Outrigger private key 20 | /outrigger-key.sh 21 | 22 | # Setup NVM 23 | echo "=> Setting node version to: $NODE_VERSION" 24 | bash --login -c "$NVM_DIR/nvm.sh && nvm alias default $NODE_VERSION" 25 | 26 | # Restore stdout and close file descriptor #6. 27 | exec 1>&6 6>&- 28 | 29 | # Run the CMD 30 | bash --login -c "$*" 31 | -------------------------------------------------------------------------------- /php72/root/init: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | LOGFILE="/var/log/outrigger.log" 3 | CONFD_LOGFILE="/var/log/confd.log" 4 | 5 | # Link file descriptor #6 with stdout, save stdout 6 | exec 6>&1 7 | 8 | # Send stdout to the log file 9 | exec > $LOGFILE 10 | 11 | # Fix perms on /var/log/services 12 | find /var/log/services -print0 | xargs -0 -r chown nobody 13 | find /var/log/services -type d -print0 | xargs -0 -r chmod 755 14 | find /var/log/services -type f -print0 | xargs -0 -r chmod 644 15 | 16 | # Run confd 17 | confd $CONFD_OPTS >& $CONFD_LOGFILE 18 | 19 | # Handle Outrigger private key 20 | /outrigger-key.sh 21 | 22 | # Setup NVM 23 | echo "=> Setting node version to: $NODE_VERSION" 24 | bash --login -c "$NVM_DIR/nvm.sh && nvm alias default $NODE_VERSION" 25 | 26 | # Restore stdout and close file descriptor #6. 27 | exec 1>&6 6>&- 28 | 29 | # Run the CMD 30 | bash --login -c "$*" 31 | -------------------------------------------------------------------------------- /php73/root/init: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | LOGFILE="/var/log/outrigger.log" 3 | CONFD_LOGFILE="/var/log/confd.log" 4 | 5 | # Link file descriptor #6 with stdout, save stdout 6 | exec 6>&1 7 | 8 | # Send stdout to the log file 9 | exec > $LOGFILE 10 | 11 | # Fix perms on /var/log/services 12 | find /var/log/services -print0 | xargs -0 -r chown nobody 13 | find /var/log/services -type d -print0 | xargs -0 -r chmod 755 14 | find /var/log/services -type f -print0 | xargs -0 -r chmod 644 15 | 16 | # Run confd 17 | confd $CONFD_OPTS >& $CONFD_LOGFILE 18 | 19 | # Handle Outrigger private key 20 | /outrigger-key.sh 21 | 22 | # Setup NVM 23 | echo "=> Setting node version to: $NODE_VERSION" 24 | bash --login -c "$NVM_DIR/nvm.sh && nvm alias default $NODE_VERSION" 25 | 26 | # Restore stdout and close file descriptor #6. 27 | exec 1>&6 6>&- 28 | 29 | # Run the CMD 30 | bash --login -c "$*" 31 | -------------------------------------------------------------------------------- /php56/root/etc/confd/templates/yaml.ini.tmpl: -------------------------------------------------------------------------------- 1 | ; Enable YAML extension module 2 | {{ $enabled := getenv "PHP_YAML" }} 3 | {{ if eq $enabled "true" }} 4 | extension = yaml.so 5 | {{ end }} 6 | 7 | ; yaml extension configuration 8 | ; see http://www.php.net/manual/en/yaml.configuration.php 9 | 10 | ; Decode entities which have the explicit tag "tag:yaml.org,2002:binary" 11 | ;yaml.decode_binary = 0 12 | 13 | ; Controls the decoding of "tag:yaml.org,2002:timestamp" 14 | ; 0 will not apply any decoding, 1 will use strtotime() 2 will use date_create(). 15 | ;yaml.decode_timestamp = 0 16 | 17 | ; Cause canonical form output. 18 | ;yaml.output_canonical = 0 19 | 20 | ; Number of spaces to indent sections. Value should be between 1 and 10. 21 | ;yaml.output_indent = 2 22 | 23 | ; Set the preferred line width. -1 means unlimited. 24 | ;yaml.output_width = 80 25 | 26 | ; Enable/disable serialized php object processing. 27 | ;yaml.decode_php = 1 28 | -------------------------------------------------------------------------------- /php70/root/etc/confd/templates/yaml.ini.tmpl: -------------------------------------------------------------------------------- 1 | ; Enable YAML extension module 2 | {{ $enabled := getenv "PHP_YAML" }} 3 | {{ if eq $enabled "true" }} 4 | extension = yaml.so 5 | {{ end }} 6 | 7 | ; yaml extension configuration 8 | ; see http://www.php.net/manual/en/yaml.configuration.php 9 | 10 | ; Decode entities which have the explicit tag "tag:yaml.org,2002:binary" 11 | ;yaml.decode_binary = 0 12 | 13 | ; Controls the decoding of "tag:yaml.org,2002:timestamp" 14 | ; 0 will not apply any decoding, 1 will use strtotime() 2 will use date_create(). 15 | ;yaml.decode_timestamp = 0 16 | 17 | ; Cause canonical form output. 18 | ;yaml.output_canonical = 0 19 | 20 | ; Number of spaces to indent sections. Value should be between 1 and 10. 21 | ;yaml.output_indent = 2 22 | 23 | ; Set the preferred line width. -1 means unlimited. 24 | ;yaml.output_width = 80 25 | 26 | ; Enable/disable serialized php object processing. 27 | ;yaml.decode_php = 1 28 | -------------------------------------------------------------------------------- /php71/root/etc/confd/templates/yaml.ini.tmpl: -------------------------------------------------------------------------------- 1 | ; Enable YAML extension module 2 | {{ $enabled := getenv "PHP_YAML" }} 3 | {{ if eq $enabled "true" }} 4 | extension = yaml.so 5 | {{ end }} 6 | 7 | ; yaml extension configuration 8 | ; see http://www.php.net/manual/en/yaml.configuration.php 9 | 10 | ; Decode entities which have the explicit tag "tag:yaml.org,2002:binary" 11 | ;yaml.decode_binary = 0 12 | 13 | ; Controls the decoding of "tag:yaml.org,2002:timestamp" 14 | ; 0 will not apply any decoding, 1 will use strtotime() 2 will use date_create(). 15 | ;yaml.decode_timestamp = 0 16 | 17 | ; Cause canonical form output. 18 | ;yaml.output_canonical = 0 19 | 20 | ; Number of spaces to indent sections. Value should be between 1 and 10. 21 | ;yaml.output_indent = 2 22 | 23 | ; Set the preferred line width. -1 means unlimited. 24 | ;yaml.output_width = 80 25 | 26 | ; Enable/disable serialized php object processing. 27 | ;yaml.decode_php = 1 28 | -------------------------------------------------------------------------------- /php72/root/etc/confd/templates/yaml.ini.tmpl: -------------------------------------------------------------------------------- 1 | ; Enable YAML extension module 2 | {{ $enabled := getenv "PHP_YAML" }} 3 | {{ if eq $enabled "true" }} 4 | extension = yaml.so 5 | {{ end }} 6 | 7 | ; yaml extension configuration 8 | ; see http://www.php.net/manual/en/yaml.configuration.php 9 | 10 | ; Decode entities which have the explicit tag "tag:yaml.org,2002:binary" 11 | ;yaml.decode_binary = 0 12 | 13 | ; Controls the decoding of "tag:yaml.org,2002:timestamp" 14 | ; 0 will not apply any decoding, 1 will use strtotime() 2 will use date_create(). 15 | ;yaml.decode_timestamp = 0 16 | 17 | ; Cause canonical form output. 18 | ;yaml.output_canonical = 0 19 | 20 | ; Number of spaces to indent sections. Value should be between 1 and 10. 21 | ;yaml.output_indent = 2 22 | 23 | ; Set the preferred line width. -1 means unlimited. 24 | ;yaml.output_width = 80 25 | 26 | ; Enable/disable serialized php object processing. 27 | ;yaml.decode_php = 1 28 | -------------------------------------------------------------------------------- /php73/root/etc/confd/templates/yaml.ini.tmpl: -------------------------------------------------------------------------------- 1 | ; Enable YAML extension module 2 | {{ $enabled := getenv "PHP_YAML" }} 3 | {{ if eq $enabled "true" }} 4 | extension = yaml.so 5 | {{ end }} 6 | 7 | ; yaml extension configuration 8 | ; see http://www.php.net/manual/en/yaml.configuration.php 9 | 10 | ; Decode entities which have the explicit tag "tag:yaml.org,2002:binary" 11 | ;yaml.decode_binary = 0 12 | 13 | ; Controls the decoding of "tag:yaml.org,2002:timestamp" 14 | ; 0 will not apply any decoding, 1 will use strtotime() 2 will use date_create(). 15 | ;yaml.decode_timestamp = 0 16 | 17 | ; Cause canonical form output. 18 | ;yaml.output_canonical = 0 19 | 20 | ; Number of spaces to indent sections. Value should be between 1 and 10. 21 | ;yaml.output_indent = 2 22 | 23 | ; Set the preferred line width. -1 means unlimited. 24 | ;yaml.output_width = 80 25 | 26 | ; Enable/disable serialized php object processing. 27 | ;yaml.decode_php = 1 28 | -------------------------------------------------------------------------------- /php55/root/outrigger-key.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | KEY_BASE=/root/.ssh 4 | KEY_FILE=$KEY_BASE/outrigger.key 5 | 6 | # First check to see if a volume mounted keyfile with a specific name exists. 7 | # If the source on a bind mount does not exist it will be created as an empty directory. 8 | if [ -e $KEY_FILE ] && [ ! -d $KEY_FILE ] 9 | then 10 | 11 | echo "KEY_FILE found. Setting up key..." 12 | 13 | else 14 | 15 | echo "##############################################################" 16 | echo "Outrigger Private Key was not set. You will not be able to " 17 | echo "clone private repositories. " 18 | echo " " 19 | echo "You can import a private key by volume mounting a key at " 20 | echo " " 21 | echo " $KEY_FILE" 22 | echo " " 23 | echo "##############################################################" 24 | exit 25 | 26 | fi 27 | 28 | # Determine the proper name for the file based on key type 29 | KEY_DATA="$(cat $KEY_FILE)" 30 | if [[ "$KEY_DATA" =~ "BEGIN DSA" ]]; then 31 | PRIVATE_KEY="$KEY_BASE/id_dsa" 32 | elif [[ "$KEY_DATA" =~ "BEGIN RSA" ]]; then 33 | PRIVATE_KEY="$KEY_BASE/id_rsa" 34 | fi 35 | 36 | # Create the key file with the proper permissions 37 | cp $KEY_FILE $PRIVATE_KEY 38 | chown root:root $PRIVATE_KEY 39 | chmod 600 $PRIVATE_KEY 40 | 41 | # Make sure that commands don't need to prompt for host keys 42 | ssh-keyscan -H bitbucket.org 2>/dev/null >> $KEY_BASE/known_hosts 43 | ssh-keyscan -H github.com 2>/dev/null >> $KEY_BASE/known_hosts 44 | -------------------------------------------------------------------------------- /php56/root/outrigger-key.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | KEY_BASE=/root/.ssh 4 | KEY_FILE=$KEY_BASE/outrigger.key 5 | 6 | # First check to see if a volume mounted keyfile with a specific name exists. 7 | # If the source on a bind mount does not exist it will be created as an empty directory. 8 | if [ -e $KEY_FILE ] && [ ! -d $KEY_FILE ] 9 | then 10 | 11 | echo "KEY_FILE found. Setting up key..." 12 | 13 | else 14 | 15 | echo "##############################################################" 16 | echo "Outrigger Private Key was not set. You will not be able to " 17 | echo "clone private repositories. " 18 | echo " " 19 | echo "You can import a private key by volume mounting a key at " 20 | echo " " 21 | echo " $KEY_FILE" 22 | echo " " 23 | echo "##############################################################" 24 | exit 25 | 26 | fi 27 | 28 | # Determine the proper name for the file based on key type 29 | KEY_DATA="$(cat $KEY_FILE)" 30 | if [[ "$KEY_DATA" =~ "BEGIN DSA" ]]; then 31 | PRIVATE_KEY="$KEY_BASE/id_dsa" 32 | elif [[ "$KEY_DATA" =~ "BEGIN RSA" ]]; then 33 | PRIVATE_KEY="$KEY_BASE/id_rsa" 34 | fi 35 | 36 | # Create the key file with the proper permissions 37 | cp $KEY_FILE $PRIVATE_KEY 38 | chown root:root $PRIVATE_KEY 39 | chmod 600 $PRIVATE_KEY 40 | 41 | # Make sure that commands don't need to prompt for host keys 42 | ssh-keyscan -H bitbucket.org 2>/dev/null >> $KEY_BASE/known_hosts 43 | ssh-keyscan -H github.com 2>/dev/null >> $KEY_BASE/known_hosts 44 | -------------------------------------------------------------------------------- /php70/root/outrigger-key.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | KEY_BASE=/root/.ssh 4 | KEY_FILE=$KEY_BASE/outrigger.key 5 | 6 | # First check to see if a volume mounted keyfile with a specific name exists. 7 | # If the source on a bind mount does not exist it will be created as an empty directory. 8 | if [ -e $KEY_FILE ] && [ ! -d $KEY_FILE ] 9 | then 10 | 11 | echo "KEY_FILE found. Setting up key..." 12 | 13 | else 14 | 15 | echo "##############################################################" 16 | echo "Outrigger Private Key was not set. You will not be able to " 17 | echo "clone private repositories. " 18 | echo " " 19 | echo "You can import a private key by volume mounting a key at " 20 | echo " " 21 | echo " $KEY_FILE" 22 | echo " " 23 | echo "##############################################################" 24 | exit 25 | 26 | fi 27 | 28 | # Determine the proper name for the file based on key type 29 | KEY_DATA="$(cat $KEY_FILE)" 30 | if [[ "$KEY_DATA" =~ "BEGIN DSA" ]]; then 31 | PRIVATE_KEY="$KEY_BASE/id_dsa" 32 | elif [[ "$KEY_DATA" =~ "BEGIN RSA" ]]; then 33 | PRIVATE_KEY="$KEY_BASE/id_rsa" 34 | fi 35 | 36 | # Create the key file with the proper permissions 37 | cp $KEY_FILE $PRIVATE_KEY 38 | chown root:root $PRIVATE_KEY 39 | chmod 600 $PRIVATE_KEY 40 | 41 | # Make sure that commands don't need to prompt for host keys 42 | ssh-keyscan -H bitbucket.org 2>/dev/null >> $KEY_BASE/known_hosts 43 | ssh-keyscan -H github.com 2>/dev/null >> $KEY_BASE/known_hosts 44 | -------------------------------------------------------------------------------- /php71/root/outrigger-key.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | KEY_BASE=/root/.ssh 4 | KEY_FILE=$KEY_BASE/outrigger.key 5 | 6 | # First check to see if a volume mounted keyfile with a specific name exists. 7 | # If the source on a bind mount does not exist it will be created as an empty directory. 8 | if [ -e $KEY_FILE ] && [ ! -d $KEY_FILE ] 9 | then 10 | 11 | echo "KEY_FILE found. Setting up key..." 12 | 13 | else 14 | 15 | echo "##############################################################" 16 | echo "Outrigger Private Key was not set. You will not be able to " 17 | echo "clone private repositories. " 18 | echo " " 19 | echo "You can import a private key by volume mounting a key at " 20 | echo " " 21 | echo " $KEY_FILE" 22 | echo " " 23 | echo "##############################################################" 24 | exit 25 | 26 | fi 27 | 28 | # Determine the proper name for the file based on key type 29 | KEY_DATA="$(cat $KEY_FILE)" 30 | if [[ "$KEY_DATA" =~ "BEGIN DSA" ]]; then 31 | PRIVATE_KEY="$KEY_BASE/id_dsa" 32 | elif [[ "$KEY_DATA" =~ "BEGIN RSA" ]]; then 33 | PRIVATE_KEY="$KEY_BASE/id_rsa" 34 | fi 35 | 36 | # Create the key file with the proper permissions 37 | cp $KEY_FILE $PRIVATE_KEY 38 | chown root:root $PRIVATE_KEY 39 | chmod 600 $PRIVATE_KEY 40 | 41 | # Make sure that commands don't need to prompt for host keys 42 | ssh-keyscan -H bitbucket.org 2>/dev/null >> $KEY_BASE/known_hosts 43 | ssh-keyscan -H github.com 2>/dev/null >> $KEY_BASE/known_hosts 44 | -------------------------------------------------------------------------------- /php72/root/outrigger-key.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | KEY_BASE=/root/.ssh 4 | KEY_FILE=$KEY_BASE/outrigger.key 5 | 6 | # First check to see if a volume mounted keyfile with a specific name exists. 7 | # If the source on a bind mount does not exist it will be created as an empty directory. 8 | if [ -e $KEY_FILE ] && [ ! -d $KEY_FILE ] 9 | then 10 | 11 | echo "KEY_FILE found. Setting up key..." 12 | 13 | else 14 | 15 | echo "##############################################################" 16 | echo "Outrigger Private Key was not set. You will not be able to " 17 | echo "clone private repositories. " 18 | echo " " 19 | echo "You can import a private key by volume mounting a key at " 20 | echo " " 21 | echo " $KEY_FILE" 22 | echo " " 23 | echo "##############################################################" 24 | exit 25 | 26 | fi 27 | 28 | # Determine the proper name for the file based on key type 29 | KEY_DATA="$(cat $KEY_FILE)" 30 | if [[ "$KEY_DATA" =~ "BEGIN DSA" ]]; then 31 | PRIVATE_KEY="$KEY_BASE/id_dsa" 32 | elif [[ "$KEY_DATA" =~ "BEGIN RSA" ]]; then 33 | PRIVATE_KEY="$KEY_BASE/id_rsa" 34 | fi 35 | 36 | # Create the key file with the proper permissions 37 | cp $KEY_FILE $PRIVATE_KEY 38 | chown root:root $PRIVATE_KEY 39 | chmod 600 $PRIVATE_KEY 40 | 41 | # Make sure that commands don't need to prompt for host keys 42 | ssh-keyscan -H bitbucket.org 2>/dev/null >> $KEY_BASE/known_hosts 43 | ssh-keyscan -H github.com 2>/dev/null >> $KEY_BASE/known_hosts 44 | -------------------------------------------------------------------------------- /php73/root/outrigger-key.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | KEY_BASE=/root/.ssh 4 | KEY_FILE=$KEY_BASE/outrigger.key 5 | 6 | # First check to see if a volume mounted keyfile with a specific name exists. 7 | # If the source on a bind mount does not exist it will be created as an empty directory. 8 | if [ -e $KEY_FILE ] && [ ! -d $KEY_FILE ] 9 | then 10 | 11 | echo "KEY_FILE found. Setting up key..." 12 | 13 | else 14 | 15 | echo "##############################################################" 16 | echo "Outrigger Private Key was not set. You will not be able to " 17 | echo "clone private repositories. " 18 | echo " " 19 | echo "You can import a private key by volume mounting a key at " 20 | echo " " 21 | echo " $KEY_FILE" 22 | echo " " 23 | echo "##############################################################" 24 | exit 25 | 26 | fi 27 | 28 | # Determine the proper name for the file based on key type 29 | KEY_DATA="$(cat $KEY_FILE)" 30 | if [[ "$KEY_DATA" =~ "BEGIN DSA" ]]; then 31 | PRIVATE_KEY="$KEY_BASE/id_dsa" 32 | elif [[ "$KEY_DATA" =~ "BEGIN RSA" ]]; then 33 | PRIVATE_KEY="$KEY_BASE/id_rsa" 34 | fi 35 | 36 | # Create the key file with the proper permissions 37 | cp $KEY_FILE $PRIVATE_KEY 38 | chown root:root $PRIVATE_KEY 39 | chmod 600 $PRIVATE_KEY 40 | 41 | # Make sure that commands don't need to prompt for host keys 42 | ssh-keyscan -H bitbucket.org 2>/dev/null >> $KEY_BASE/known_hosts 43 | ssh-keyscan -H github.com 2>/dev/null >> $KEY_BASE/known_hosts 44 | -------------------------------------------------------------------------------- /php55/root/opt/rh/php55/root/etc/php.d/opcache.ini: -------------------------------------------------------------------------------- 1 | ; Enable Zend OPcache extension module 2 | zend_extension=opcache.so 3 | 4 | ; Determines if Zend OPCache is enabled 5 | opcache.enable=1 6 | 7 | ; Determines if Zend OPCache is enabled for the CLI version of PHP 8 | ;opcache.enable_cli=0 9 | 10 | ; The OPcache shared memory storage size. 11 | opcache.memory_consumption=256 12 | 13 | ; The amount of memory for interned strings in Mbytes. 14 | opcache.interned_strings_buffer=8 15 | 16 | ; The maximum number of keys (scripts) in the OPcache hash table. 17 | ; Only numbers between 200 and 100000 are allowed. 18 | opcache.max_accelerated_files=4000 19 | 20 | ; The maximum percentage of "wasted" memory until a restart is scheduled. 21 | ;opcache.max_wasted_percentage=5 22 | 23 | ; When this directive is enabled, the OPcache appends the current working 24 | ; directory to the script key, thus eliminating possible collisions between 25 | ; files with the same name (basename). Disabling the directive improves 26 | ; performance, but may break existing applications. 27 | ;opcache.use_cwd=1 28 | 29 | ; When disabled, you must reset the OPcache manually or restart the 30 | ; webserver for changes to the filesystem to take effect. 31 | ;opcache.validate_timestamps=1 32 | 33 | ; How often (in seconds) to check file timestamps for changes to the shared 34 | ; memory storage allocation. ("1" means validate once per second, but only 35 | ; once per request. "0" means always validate) 36 | ;opcache.revalidate_freq=2 37 | 38 | ; Enables or disables file search in include_path optimization 39 | ;opcache.revalidate_path=0 40 | 41 | ; If disabled, all PHPDoc comments are dropped from the code to reduce the 42 | ;size of the optimized code. 43 | ;opcache.save_comments=1 44 | 45 | ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments" 46 | ; may be always stored (save_comments=1), but not loaded by applications 47 | ; that don't need them anyway. 48 | ;opcache.load_comments=1 49 | 50 | ; If enabled, a fast shutdown sequence is used for the accelerated code 51 | opcache.fast_shutdown=1 52 | 53 | ; Allow file existence override (file_exists, etc.) performance feature. 54 | ;opcache.enable_file_override=0 55 | 56 | ; A bitmask, where each bit enables or disables the appropriate OPcache 57 | ; passes 58 | ;opcache.optimization_level=0xffffffff 59 | 60 | ;opcache.inherited_hack=1 61 | ;opcache.dups_fix=0 62 | 63 | ; The location of the OPcache blacklist file (wildcards allowed). 64 | ; Each OPcache blacklist file is a text file that holds the names of files 65 | ; that should not be accelerated. 66 | opcache.blacklist_filename=/opt/rh/php55/root/etc/php.d/opcache*.blacklist 67 | 68 | ; Allows exclusion of large files from being cached. By default all files 69 | ; are cached. 70 | ;opcache.max_file_size=0 71 | 72 | ; Check the cache checksum each N requests. 73 | ; The default value of "0" means that the checks are disabled. 74 | ;opcache.consistency_checks=0 75 | 76 | ; How long to wait (in seconds) for a scheduled restart to begin if the cache 77 | ; is not being accessed. 78 | ;opcache.force_restart_timeout=180 79 | 80 | ; OPcache error_log file name. Empty string assumes "stderr". 81 | ;opcache.error_log= 82 | 83 | ; All OPcache errors go to the Web server log. 84 | ; By default, only fatal errors (level 0) or errors (level 1) are logged. 85 | ; You can also enable warnings (level 2), info messages (level 3) or 86 | ; debug messages (level 4). 87 | ;opcache.log_verbosity_level=1 88 | 89 | ; Preferred Shared Memory back-end. Leave empty and let the system decide. 90 | ;opcache.preferred_memory_model= 91 | 92 | ; Protect the shared memory from unexpected writing during script execution. 93 | ; Useful for internal debugging only. 94 | ;opcache.protect_memory=0 95 | 96 | 97 | -------------------------------------------------------------------------------- /php56/root/etc/opt/rh/rh-php56/php.d/10-opcache.ini: -------------------------------------------------------------------------------- 1 | ; Enable Zend OPcache extension module 2 | zend_extension=opcache.so 3 | 4 | ; Determines if Zend OPCache is enabled 5 | opcache.enable=1 6 | 7 | ; Determines if Zend OPCache is enabled for the CLI version of PHP 8 | ;opcache.enable_cli=0 9 | 10 | ; The OPcache shared memory storage size. 11 | opcache.memory_consumption=256 12 | 13 | ; The amount of memory for interned strings in Mbytes. 14 | opcache.interned_strings_buffer=8 15 | 16 | ; The maximum number of keys (scripts) in the OPcache hash table. 17 | ; Only numbers between 200 and 100000 are allowed. 18 | opcache.max_accelerated_files=4000 19 | 20 | ; The maximum percentage of "wasted" memory until a restart is scheduled. 21 | ;opcache.max_wasted_percentage=5 22 | 23 | ; When this directive is enabled, the OPcache appends the current working 24 | ; directory to the script key, thus eliminating possible collisions between 25 | ; files with the same name (basename). Disabling the directive improves 26 | ; performance, but may break existing applications. 27 | ;opcache.use_cwd=1 28 | 29 | ; When disabled, you must reset the OPcache manually or restart the 30 | ; webserver for changes to the filesystem to take effect. 31 | ;opcache.validate_timestamps=1 32 | 33 | ; How often (in seconds) to check file timestamps for changes to the shared 34 | ; memory storage allocation. ("1" means validate once per second, but only 35 | ; once per request. "0" means always validate) 36 | ;opcache.revalidate_freq=2 37 | 38 | ; Enables or disables file search in include_path optimization 39 | ;opcache.revalidate_path=0 40 | 41 | ; If disabled, all PHPDoc comments are dropped from the code to reduce the 42 | ;size of the optimized code. 43 | ;opcache.save_comments=1 44 | 45 | ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments" 46 | ; may be always stored (save_comments=1), but not loaded by applications 47 | ; that don't need them anyway. 48 | ;opcache.load_comments=1 49 | 50 | ; If enabled, a fast shutdown sequence is used for the accelerated code 51 | opcache.fast_shutdown=1 52 | 53 | ; Allow file existence override (file_exists, etc.) performance feature. 54 | ;opcache.enable_file_override=0 55 | 56 | ; A bitmask, where each bit enables or disables the appropriate OPcache 57 | ; passes 58 | ;opcache.optimization_level=0xffffffff 59 | 60 | ;opcache.inherited_hack=1 61 | ;opcache.dups_fix=0 62 | 63 | ; The location of the OPcache blacklist file (wildcards allowed). 64 | ; Each OPcache blacklist file is a text file that holds the names of files 65 | ; that should not be accelerated. 66 | opcache.blacklist_filename=/opt/rh/php55/root/etc/php.d/opcache*.blacklist 67 | 68 | ; Allows exclusion of large files from being cached. By default all files 69 | ; are cached. 70 | ;opcache.max_file_size=0 71 | 72 | ; Check the cache checksum each N requests. 73 | ; The default value of "0" means that the checks are disabled. 74 | ;opcache.consistency_checks=0 75 | 76 | ; How long to wait (in seconds) for a scheduled restart to begin if the cache 77 | ; is not being accessed. 78 | ;opcache.force_restart_timeout=180 79 | 80 | ; OPcache error_log file name. Empty string assumes "stderr". 81 | ;opcache.error_log= 82 | 83 | ; All OPcache errors go to the Web server log. 84 | ; By default, only fatal errors (level 0) or errors (level 1) are logged. 85 | ; You can also enable warnings (level 2), info messages (level 3) or 86 | ; debug messages (level 4). 87 | ;opcache.log_verbosity_level=1 88 | 89 | ; Preferred Shared Memory back-end. Leave empty and let the system decide. 90 | ;opcache.preferred_memory_model= 91 | 92 | ; Protect the shared memory from unexpected writing during script execution. 93 | ; Useful for internal debugging only. 94 | ;opcache.protect_memory=0 95 | 96 | 97 | -------------------------------------------------------------------------------- /php70/root/etc/opt/remi/php70/php.d/10-opcache.ini: -------------------------------------------------------------------------------- 1 | ; Enable Zend OPcache extension module 2 | zend_extension=opcache.so 3 | 4 | ; Determines if Zend OPCache is enabled 5 | opcache.enable=1 6 | 7 | ; Determines if Zend OPCache is enabled for the CLI version of PHP 8 | ;opcache.enable_cli=0 9 | 10 | ; The OPcache shared memory storage size. 11 | opcache.memory_consumption=256 12 | 13 | ; The amount of memory for interned strings in Mbytes. 14 | opcache.interned_strings_buffer=8 15 | 16 | ; The maximum number of keys (scripts) in the OPcache hash table. 17 | ; Only numbers between 200 and 100000 are allowed. 18 | opcache.max_accelerated_files=4000 19 | 20 | ; The maximum percentage of "wasted" memory until a restart is scheduled. 21 | ;opcache.max_wasted_percentage=5 22 | 23 | ; When this directive is enabled, the OPcache appends the current working 24 | ; directory to the script key, thus eliminating possible collisions between 25 | ; files with the same name (basename). Disabling the directive improves 26 | ; performance, but may break existing applications. 27 | ;opcache.use_cwd=1 28 | 29 | ; When disabled, you must reset the OPcache manually or restart the 30 | ; webserver for changes to the filesystem to take effect. 31 | ;opcache.validate_timestamps=1 32 | 33 | ; How often (in seconds) to check file timestamps for changes to the shared 34 | ; memory storage allocation. ("1" means validate once per second, but only 35 | ; once per request. "0" means always validate) 36 | ;opcache.revalidate_freq=2 37 | 38 | ; Enables or disables file search in include_path optimization 39 | ;opcache.revalidate_path=0 40 | 41 | ; If disabled, all PHPDoc comments are dropped from the code to reduce the 42 | ; size of the optimized code. 43 | ;opcache.save_comments=1 44 | 45 | ; If enabled, a fast shutdown sequence is used for the accelerated code 46 | opcache.fast_shutdown=1 47 | 48 | ; Allow file existence override (file_exists, etc.) performance feature. 49 | ;opcache.enable_file_override=0 50 | 51 | ; A bitmask, where each bit enables or disables the appropriate OPcache 52 | ; passes 53 | ;opcache.optimization_level=0xffffffff 54 | 55 | ;opcache.inherited_hack=1 56 | ;opcache.dups_fix=0 57 | 58 | ; The location of the OPcache blacklist file (wildcards allowed). 59 | ; Each OPcache blacklist file is a text file that holds the names of files 60 | ; that should not be accelerated. 61 | opcache.blacklist_filename=/etc/opt/remi/php70/php.d/opcache*.blacklist 62 | 63 | ; Allows exclusion of large files from being cached. By default all files 64 | ; are cached. 65 | ;opcache.max_file_size=0 66 | 67 | ; Check the cache checksum each N requests. 68 | ; The default value of "0" means that the checks are disabled. 69 | ;opcache.consistency_checks=0 70 | 71 | ; How long to wait (in seconds) for a scheduled restart to begin if the cache 72 | ; is not being accessed. 73 | ;opcache.force_restart_timeout=180 74 | 75 | ; OPcache error_log file name. Empty string assumes "stderr". 76 | ;opcache.error_log= 77 | 78 | ; All OPcache errors go to the Web server log. 79 | ; By default, only fatal errors (level 0) or errors (level 1) are logged. 80 | ; You can also enable warnings (level 2), info messages (level 3) or 81 | ; debug messages (level 4). 82 | ;opcache.log_verbosity_level=1 83 | 84 | ; Preferred Shared Memory back-end. Leave empty and let the system decide. 85 | ;opcache.preferred_memory_model= 86 | 87 | ; Protect the shared memory from unexpected writing during script execution. 88 | ; Useful for internal debugging only. 89 | ;opcache.protect_memory=0 90 | 91 | ; Allows calling OPcache API functions only from PHP scripts which path is 92 | ; started from specified string. The default "" means no restriction 93 | ;opcache.restrict_api= 94 | 95 | ; Enables and sets the second level cache directory. 96 | ; It should improve performance when SHM memory is full, at server restart or 97 | ; SHM reset. The default "" disables file based caching. 98 | ; RPM note : file cache directory must be owned by process owner 99 | ; for mod_php, see /etc/opt/remi/php70/httpd/conf.d/php.conf 100 | ; for php-fpm, see /etc/opt/remi/php70/php-fpm.d/*conf 101 | ;opcache.file_cache= 102 | 103 | ; Enables or disables opcode caching in shared memory. 104 | ;opcache.file_cache_only=0 105 | 106 | ; Enables or disables checksum validation when script loaded from file cache. 107 | ;opcache.file_cache_consistency_checks=1 108 | 109 | ; Enables or disables copying of PHP code (text segment) into HUGE PAGES. 110 | ; This should improve performance, but requires appropriate OS configuration. 111 | opcache.huge_code_pages=1 112 | -------------------------------------------------------------------------------- /php71/root/etc/opt/remi/php71/php.d/10-opcache.ini: -------------------------------------------------------------------------------- 1 | ; Enable Zend OPcache extension module 2 | zend_extension=opcache.so 3 | 4 | ; Determines if Zend OPCache is enabled 5 | opcache.enable=1 6 | 7 | ; Determines if Zend OPCache is enabled for the CLI version of PHP 8 | ;opcache.enable_cli=0 9 | 10 | ; The OPcache shared memory storage size. 11 | opcache.memory_consumption=256 12 | 13 | ; The amount of memory for interned strings in Mbytes. 14 | opcache.interned_strings_buffer=8 15 | 16 | ; The maximum number of keys (scripts) in the OPcache hash table. 17 | ; Only numbers between 200 and 100000 are allowed. 18 | opcache.max_accelerated_files=4000 19 | 20 | ; The maximum percentage of "wasted" memory until a restart is scheduled. 21 | ;opcache.max_wasted_percentage=5 22 | 23 | ; When this directive is enabled, the OPcache appends the current working 24 | ; directory to the script key, thus eliminating possible collisions between 25 | ; files with the same name (basename). Disabling the directive improves 26 | ; performance, but may break existing applications. 27 | ;opcache.use_cwd=1 28 | 29 | ; When disabled, you must reset the OPcache manually or restart the 30 | ; webserver for changes to the filesystem to take effect. 31 | ;opcache.validate_timestamps=1 32 | 33 | ; How often (in seconds) to check file timestamps for changes to the shared 34 | ; memory storage allocation. ("1" means validate once per second, but only 35 | ; once per request. "0" means always validate) 36 | ;opcache.revalidate_freq=2 37 | 38 | ; Enables or disables file search in include_path optimization 39 | ;opcache.revalidate_path=0 40 | 41 | ; If disabled, all PHPDoc comments are dropped from the code to reduce the 42 | ; size of the optimized code. 43 | ;opcache.save_comments=1 44 | 45 | ; If enabled, a fast shutdown sequence is used for the accelerated code 46 | opcache.fast_shutdown=1 47 | 48 | ; Allow file existence override (file_exists, etc.) performance feature. 49 | ;opcache.enable_file_override=0 50 | 51 | ; A bitmask, where each bit enables or disables the appropriate OPcache 52 | ; passes 53 | ;opcache.optimization_level=0xffffffff 54 | 55 | ;opcache.inherited_hack=1 56 | ;opcache.dups_fix=0 57 | 58 | ; The location of the OPcache blacklist file (wildcards allowed). 59 | ; Each OPcache blacklist file is a text file that holds the names of files 60 | ; that should not be accelerated. 61 | opcache.blacklist_filename=/etc/opt/remi/php71/php.d/opcache*.blacklist 62 | 63 | ; Allows exclusion of large files from being cached. By default all files 64 | ; are cached. 65 | ;opcache.max_file_size=0 66 | 67 | ; Check the cache checksum each N requests. 68 | ; The default value of "0" means that the checks are disabled. 69 | ;opcache.consistency_checks=0 70 | 71 | ; How long to wait (in seconds) for a scheduled restart to begin if the cache 72 | ; is not being accessed. 73 | ;opcache.force_restart_timeout=180 74 | 75 | ; OPcache error_log file name. Empty string assumes "stderr". 76 | ;opcache.error_log= 77 | 78 | ; All OPcache errors go to the Web server log. 79 | ; By default, only fatal errors (level 0) or errors (level 1) are logged. 80 | ; You can also enable warnings (level 2), info messages (level 3) or 81 | ; debug messages (level 4). 82 | ;opcache.log_verbosity_level=1 83 | 84 | ; Preferred Shared Memory back-end. Leave empty and let the system decide. 85 | ;opcache.preferred_memory_model= 86 | 87 | ; Protect the shared memory from unexpected writing during script execution. 88 | ; Useful for internal debugging only. 89 | ;opcache.protect_memory=0 90 | 91 | ; Allows calling OPcache API functions only from PHP scripts which path is 92 | ; started from specified string. The default "" means no restriction 93 | ;opcache.restrict_api= 94 | 95 | ; Enables and sets the second level cache directory. 96 | ; It should improve performance when SHM memory is full, at server restart or 97 | ; SHM reset. The default "" disables file based caching. 98 | ; RPM note : file cache directory must be owned by process owner 99 | ; for mod_php, see /etc/opt/remi/php71/httpd/conf.d/php.conf 100 | ; for php-fpm, see /etc/opt/remi/php71/php-fpm.d/*conf 101 | ;opcache.file_cache= 102 | 103 | ; Enables or disables opcode caching in shared memory. 104 | ;opcache.file_cache_only=0 105 | 106 | ; Enables or disables checksum validation when script loaded from file cache. 107 | ;opcache.file_cache_consistency_checks=1 108 | 109 | ; Enables or disables copying of PHP code (text segment) into HUGE PAGES. 110 | ; This should improve performance, but requires appropriate OS configuration. 111 | opcache.huge_code_pages=1 112 | -------------------------------------------------------------------------------- /php72/root/etc/opt/remi/php72/php.d/10-opcache.ini: -------------------------------------------------------------------------------- 1 | ; Enable Zend OPcache extension module 2 | zend_extension=opcache.so 3 | 4 | ; Determines if Zend OPCache is enabled 5 | opcache.enable=1 6 | 7 | ; Determines if Zend OPCache is enabled for the CLI version of PHP 8 | ;opcache.enable_cli=0 9 | 10 | ; The OPcache shared memory storage size. 11 | opcache.memory_consumption=256 12 | 13 | ; The amount of memory for interned strings in Mbytes. 14 | opcache.interned_strings_buffer=8 15 | 16 | ; The maximum number of keys (scripts) in the OPcache hash table. 17 | ; Only numbers between 200 and 100000 are allowed. 18 | opcache.max_accelerated_files=4000 19 | 20 | ; The maximum percentage of "wasted" memory until a restart is scheduled. 21 | ;opcache.max_wasted_percentage=5 22 | 23 | ; When this directive is enabled, the OPcache appends the current working 24 | ; directory to the script key, thus eliminating possible collisions between 25 | ; files with the same name (basename). Disabling the directive improves 26 | ; performance, but may break existing applications. 27 | ;opcache.use_cwd=1 28 | 29 | ; When disabled, you must reset the OPcache manually or restart the 30 | ; webserver for changes to the filesystem to take effect. 31 | ;opcache.validate_timestamps=1 32 | 33 | ; How often (in seconds) to check file timestamps for changes to the shared 34 | ; memory storage allocation. ("1" means validate once per second, but only 35 | ; once per request. "0" means always validate) 36 | ;opcache.revalidate_freq=2 37 | 38 | ; Enables or disables file search in include_path optimization 39 | ;opcache.revalidate_path=0 40 | 41 | ; If disabled, all PHPDoc comments are dropped from the code to reduce the 42 | ; size of the optimized code. 43 | ;opcache.save_comments=1 44 | 45 | ; If enabled, a fast shutdown sequence is used for the accelerated code 46 | opcache.fast_shutdown=1 47 | 48 | ; Allow file existence override (file_exists, etc.) performance feature. 49 | ;opcache.enable_file_override=0 50 | 51 | ; A bitmask, where each bit enables or disables the appropriate OPcache 52 | ; passes 53 | ;opcache.optimization_level=0xffffffff 54 | 55 | ;opcache.inherited_hack=1 56 | ;opcache.dups_fix=0 57 | 58 | ; The location of the OPcache blacklist file (wildcards allowed). 59 | ; Each OPcache blacklist file is a text file that holds the names of files 60 | ; that should not be accelerated. 61 | opcache.blacklist_filename=/etc/opt/remi/php72/php.d/opcache*.blacklist 62 | 63 | ; Allows exclusion of large files from being cached. By default all files 64 | ; are cached. 65 | ;opcache.max_file_size=0 66 | 67 | ; Check the cache checksum each N requests. 68 | ; The default value of "0" means that the checks are disabled. 69 | ;opcache.consistency_checks=0 70 | 71 | ; How long to wait (in seconds) for a scheduled restart to begin if the cache 72 | ; is not being accessed. 73 | ;opcache.force_restart_timeout=180 74 | 75 | ; OPcache error_log file name. Empty string assumes "stderr". 76 | ;opcache.error_log= 77 | 78 | ; All OPcache errors go to the Web server log. 79 | ; By default, only fatal errors (level 0) or errors (level 1) are logged. 80 | ; You can also enable warnings (level 2), info messages (level 3) or 81 | ; debug messages (level 4). 82 | ;opcache.log_verbosity_level=1 83 | 84 | ; Preferred Shared Memory back-end. Leave empty and let the system decide. 85 | ;opcache.preferred_memory_model= 86 | 87 | ; Protect the shared memory from unexpected writing during script execution. 88 | ; Useful for internal debugging only. 89 | ;opcache.protect_memory=0 90 | 91 | ; Allows calling OPcache API functions only from PHP scripts which path is 92 | ; started from specified string. The default "" means no restriction 93 | ;opcache.restrict_api= 94 | 95 | ; Enables and sets the second level cache directory. 96 | ; It should improve performance when SHM memory is full, at server restart or 97 | ; SHM reset. The default "" disables file based caching. 98 | ; RPM note : file cache directory must be owned by process owner 99 | ; for mod_php, see /etc/opt/remi/php72/httpd/conf.d/php.conf 100 | ; for php-fpm, see /etc/opt/remi/php72/php-fpm.d/*conf 101 | ;opcache.file_cache= 102 | 103 | ; Enables or disables opcode caching in shared memory. 104 | ;opcache.file_cache_only=0 105 | 106 | ; Enables or disables checksum validation when script loaded from file cache. 107 | ;opcache.file_cache_consistency_checks=1 108 | 109 | ; Enables or disables copying of PHP code (text segment) into HUGE PAGES. 110 | ; This should improve performance, but requires appropriate OS configuration. 111 | opcache.huge_code_pages=1 112 | -------------------------------------------------------------------------------- /php73/root/etc/opt/remi/php73/php.d/10-opcache.ini: -------------------------------------------------------------------------------- 1 | ; Enable Zend OPcache extension module 2 | zend_extension=opcache.so 3 | 4 | ; Determines if Zend OPCache is enabled 5 | opcache.enable=1 6 | 7 | ; Determines if Zend OPCache is enabled for the CLI version of PHP 8 | ;opcache.enable_cli=0 9 | 10 | ; The OPcache shared memory storage size. 11 | opcache.memory_consumption=256 12 | 13 | ; The amount of memory for interned strings in Mbytes. 14 | opcache.interned_strings_buffer=8 15 | 16 | ; The maximum number of keys (scripts) in the OPcache hash table. 17 | ; Only numbers between 200 and 100000 are allowed. 18 | opcache.max_accelerated_files=4000 19 | 20 | ; The maximum percentage of "wasted" memory until a restart is scheduled. 21 | ;opcache.max_wasted_percentage=5 22 | 23 | ; When this directive is enabled, the OPcache appends the current working 24 | ; directory to the script key, thus eliminating possible collisions between 25 | ; files with the same name (basename). Disabling the directive improves 26 | ; performance, but may break existing applications. 27 | ;opcache.use_cwd=1 28 | 29 | ; When disabled, you must reset the OPcache manually or restart the 30 | ; webserver for changes to the filesystem to take effect. 31 | ;opcache.validate_timestamps=1 32 | 33 | ; How often (in seconds) to check file timestamps for changes to the shared 34 | ; memory storage allocation. ("1" means validate once per second, but only 35 | ; once per request. "0" means always validate) 36 | ;opcache.revalidate_freq=2 37 | 38 | ; Enables or disables file search in include_path optimization 39 | ;opcache.revalidate_path=0 40 | 41 | ; If disabled, all PHPDoc comments are dropped from the code to reduce the 42 | ; size of the optimized code. 43 | ;opcache.save_comments=1 44 | 45 | ; If enabled, a fast shutdown sequence is used for the accelerated code 46 | opcache.fast_shutdown=1 47 | 48 | ; Allow file existence override (file_exists, etc.) performance feature. 49 | ;opcache.enable_file_override=0 50 | 51 | ; A bitmask, where each bit enables or disables the appropriate OPcache 52 | ; passes 53 | ;opcache.optimization_level=0xffffffff 54 | 55 | ;opcache.inherited_hack=1 56 | ;opcache.dups_fix=0 57 | 58 | ; The location of the OPcache blacklist file (wildcards allowed). 59 | ; Each OPcache blacklist file is a text file that holds the names of files 60 | ; that should not be accelerated. 61 | opcache.blacklist_filename=/etc/opt/remi/php73/php.d/opcache*.blacklist 62 | 63 | ; Allows exclusion of large files from being cached. By default all files 64 | ; are cached. 65 | ;opcache.max_file_size=0 66 | 67 | ; Check the cache checksum each N requests. 68 | ; The default value of "0" means that the checks are disabled. 69 | ;opcache.consistency_checks=0 70 | 71 | ; How long to wait (in seconds) for a scheduled restart to begin if the cache 72 | ; is not being accessed. 73 | ;opcache.force_restart_timeout=180 74 | 75 | ; OPcache error_log file name. Empty string assumes "stderr". 76 | ;opcache.error_log= 77 | 78 | ; All OPcache errors go to the Web server log. 79 | ; By default, only fatal errors (level 0) or errors (level 1) are logged. 80 | ; You can also enable warnings (level 2), info messages (level 3) or 81 | ; debug messages (level 4). 82 | ;opcache.log_verbosity_level=1 83 | 84 | ; Preferred Shared Memory back-end. Leave empty and let the system decide. 85 | ;opcache.preferred_memory_model= 86 | 87 | ; Protect the shared memory from unexpected writing during script execution. 88 | ; Useful for internal debugging only. 89 | ;opcache.protect_memory=0 90 | 91 | ; Allows calling OPcache API functions only from PHP scripts which path is 92 | ; started from specified string. The default "" means no restriction 93 | ;opcache.restrict_api= 94 | 95 | ; Enables and sets the second level cache directory. 96 | ; It should improve performance when SHM memory is full, at server restart or 97 | ; SHM reset. The default "" disables file based caching. 98 | ; RPM note : file cache directory must be owned by process owner 99 | ; for mod_php, see /etc/opt/remi/php73/httpd/conf.d/php.conf 100 | ; for php-fpm, see /etc/opt/remi/php73/php-fpm.d/*conf 101 | ;opcache.file_cache= 102 | 103 | ; Enables or disables opcode caching in shared memory. 104 | ;opcache.file_cache_only=0 105 | 106 | ; Enables or disables checksum validation when script loaded from file cache. 107 | ;opcache.file_cache_consistency_checks=1 108 | 109 | ; Enables or disables copying of PHP code (text segment) into HUGE PAGES. 110 | ; This should improve performance, but requires appropriate OS configuration. 111 | opcache.huge_code_pages=1 112 | -------------------------------------------------------------------------------- /php55/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM centos:7 2 | 3 | # Install base packages. 4 | RUN yum -y install epel-release centos-release-scl yum-plugin-ovl deltarpm && \ 5 | yum -y update && \ 6 | yum -y install sudo ssh curl less vim-minimal dnsutils openssl && \ 7 | yum clean all 8 | 9 | # Download confd. 10 | ENV CONFD_VERSION 0.11.0 11 | RUN curl -L "https://github.com/kelseyhightower/confd/releases/download/v$CONFD_VERSION/confd-$CONFD_VERSION-linux-amd64" > /usr/bin/confd && \ 12 | chmod +x /usr/bin/confd 13 | ENV CONFD_OPTS '--backend=env --onetime' 14 | 15 | RUN yum -y install \ 16 | https://www.softwarecollections.org/en/scls/remi/php55more/epel-7-x86_64/download/remi-php55more-epel-7-x86_64.noarch.rpm && \ 17 | yum -y update && \ 18 | yum clean all 19 | 20 | RUN yum-config-manager --enable rhel-server-rhscl-7-rpms 21 | 22 | # Add the IUS repository. This is needed for git2. 23 | RUN curl -L "https://centos7.iuscommunity.org/ius-release.rpm" > /usr/local/ius-release.rpm && \ 24 | rpm -Uvh /usr/local/ius-release.rpm 25 | 26 | RUN yum -y install \ 27 | # Install PHP 28 | php55 \ 29 | php55-php-bcmath \ 30 | php55-php-cli \ 31 | php55-php-devel \ 32 | php55-php-fpm \ 33 | php55-php-gd \ 34 | php55-php-mbstring \ 35 | php55-php-mysql \ 36 | php55-php-opcache \ 37 | php55-php-pdo \ 38 | php55-php-pear \ 39 | php55-php-pgsql \ 40 | php55-php-pecl-memcache \ 41 | php55-php-soap \ 42 | php55-php-xml \ 43 | # Install Ruby 44 | ruby193 \ 45 | ruby193-rubygems \ 46 | ruby193-ruby-devel \ 47 | # Install Miscellaneous Tools 48 | bzip2 \ 49 | gcc-c++ \ 50 | git2u-all \ 51 | httpd-tools \ 52 | jq \ 53 | make \ 54 | mariadb \ 55 | nmap-ncat \ 56 | patch \ 57 | pv \ 58 | postgresql \ 59 | rsync \ 60 | sendmail \ 61 | unzip \ 62 | # Necessary for drush 63 | which \ 64 | # Necessary library for phantomjs per https://github.com/ariya/phantomjs/issues/10904 65 | fontconfig \ 66 | && yum clean all 67 | 68 | # Ensure php55 and ruby193 binaries are in path 69 | ENV PATH /root/.composer/vendor/bin:/opt/rh/ruby193/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 70 | 71 | # Ensure PHP is in path 72 | RUN ln -sfv /opt/rh/php55/root/usr/bin/* /usr/bin/ && \ 73 | ln -sfv /opt/rh/php55/root/usr/sbin/* /usr/sbin/ 74 | 75 | # Enable other ruby193 SCL config 76 | ENV LD_LIBRARY_PATH /opt/rh/ruby193/root/usr/lib64 77 | ENV PKG_CONFIG_PATH /opt/rh/ruby193/root/usr/lib64/pkgconfig 78 | 79 | # Ensure $HOME is set 80 | ENV HOME /root 81 | 82 | # Configure Git 83 | # https://git-scm.com/docs/git-config#git-config-corepreloadIndex 84 | RUN git config --global core.preloadindex true 85 | 86 | # Install Composer 87 | RUN curl -sS https://getcomposer.org/installer | php && mv composer.phar /usr/bin/composer 88 | # https://getcomposer.org/doc/03-cli.md#composer-allow-superuser 89 | ENV COMPOSER_ALLOW_SUPERUSER 1 90 | 91 | # Add global composer dependencies. 92 | # Drush for drupal development. 93 | # prestissimo for parallelized composer download operations. 94 | RUN composer global require drush/drush:8.x hirak/prestissimo:^0.3 && \ 95 | composer clear-cache 96 | 97 | # Install nvm, supported node versions, and default cli modules. 98 | ENV NVM_DIR $HOME/.nvm 99 | ENV NODE_VERSION 4 100 | RUN (curl https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash) && \ 101 | chmod +x $HOME/.nvm/nvm.sh 102 | 103 | # Node 4.x (LTS) 104 | RUN source $NVM_DIR/nvm.sh && \ 105 | nvm install 4 && \ 106 | npm install -g bower grunt-cli gulp-cli && \ 107 | npm cache clean 108 | # Node 6.x (stable) 109 | RUN source $NVM_DIR/nvm.sh && \ 110 | nvm install 6 && \ 111 | npm install -g bower grunt-cli gulp-cli && \ 112 | npm cache clean 113 | # Node 8.x (stable) 114 | RUN source $NVM_DIR/nvm.sh && \ 115 | nvm install 8 && \ 116 | npm install -g bower grunt-cli gulp-cli && \ 117 | # npm v5 recommends not clearing caches because of improved consistency. 118 | # This is not an argument that applies to Docker image layer size. 119 | npm cache clean --force 120 | # Set the default version which can be overridden by ENV. 121 | RUN source $NVM_DIR/nvm.sh && nvm alias default $NODE_VERSION && nvm cache clear 122 | 123 | # Configure npm for container life. 124 | ENV NPM_CONFIG_UNSAFE_PERM true 125 | # Configure bower for container life. 126 | ENV BOWER_ALLOW_ROOT true 127 | 128 | COPY root / 129 | 130 | # Install Drush commands 131 | RUN drush pm-download -yv registry_rebuild-7.x --destination=/etc/drush/commands 132 | 133 | # Run the s6-based init. 134 | ENTRYPOINT ["/init"] 135 | 136 | # Set up a standard volume for logs. 137 | VOLUME ["/var/log/services"] 138 | 139 | CMD [ "/versions.sh" ] 140 | -------------------------------------------------------------------------------- /php73/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM centos:7 2 | 3 | # Install base packages. 4 | RUN yum -y install epel-release centos-release-scl yum-plugin-ovl deltarpm && \ 5 | yum -y update && \ 6 | yum -y install sudo ssh curl less vim-minimal dnsutils openssl 7 | 8 | RUN yum-config-manager --enable rhel-server-rhscl-7-rpms 9 | 10 | # Download confd. 11 | ENV CONFD_VERSION 0.11.0 12 | RUN curl -L "https://github.com/kelseyhightower/confd/releases/download/v$CONFD_VERSION/confd-$CONFD_VERSION-linux-amd64" > /usr/bin/confd && \ 13 | chmod +x /usr/bin/confd 14 | ENV CONFD_OPTS '--backend=env --onetime' 15 | 16 | RUN yum -y install \ 17 | https://rpms.remirepo.net/enterprise/remi-release-7.rpm \ 18 | yum -y update 19 | 20 | # Add the IUS repository. This is needed for git2. 21 | RUN curl -L "https://centos7.iuscommunity.org/ius-release.rpm" > /usr/local/ius-release.rpm && \ 22 | rpm -Uvh /usr/local/ius-release.rpm 23 | 24 | RUN yum -y install \ 25 | # Install PHP 26 | php73 \ 27 | php73-php-devel \ 28 | php73-php-gd \ 29 | php73-php-xml \ 30 | php73-php-pdo \ 31 | php73-php-mysql \ 32 | php73-php-mysqlnd \ 33 | php73-php-mbstring \ 34 | php73-php-fpm \ 35 | php73-php-opcache \ 36 | php73-php-pecl-memcache \ 37 | php73-php-pecl-xdebug \ 38 | php73-php-posix \ 39 | php73-php-mcrypt \ 40 | php73-php-pecl-yaml \ 41 | php73-php-pecl-zip \ 42 | # Install Ruby 43 | ruby193 \ 44 | ruby193-rubygems \ 45 | ruby193-ruby-devel \ 46 | # Install Miscellaneous Tools 47 | bzip2 \ 48 | gcc-c++ \ 49 | git2u-all \ 50 | httpd-tools \ 51 | jq \ 52 | make \ 53 | mariadb \ 54 | nmap-ncat \ 55 | patch \ 56 | postgresql \ 57 | pv \ 58 | rsync \ 59 | sendmail \ 60 | unzip \ 61 | # Necessary for drush 62 | which \ 63 | # Necessary library for phantomjs per https://github.com/ariya/phantomjs/issues/10904 64 | fontconfig \ 65 | && yum clean all 66 | 67 | # Ensure ruby193 binaries are in path 68 | ENV PATH /root/.composer/vendor/bin:/opt/rh/ruby193/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 69 | 70 | # Ensure PHP binaries are in path 71 | RUN ln -sfv /opt/remi/php73/root/usr/bin/* /usr/bin/ && \ 72 | ln -sfv /opt/remi/php73/root/usr/sbin/* /usr/sbin/ 73 | 74 | # Install PHPRedis extension 75 | ENV PHPREDIS_VERSION 3.1.2 76 | RUN curl -L -o /tmp/phpredis.tar.gz "https://github.com/phpredis/phpredis/archive/$PHPREDIS_VERSION.tar.gz" && \ 77 | tar -xzf /tmp/phpredis.tar.gz -C /tmp && \ 78 | rm /tmp/phpredis.tar.gz && \ 79 | cd "/tmp/phpredis-$PHPREDIS_VERSION" && \ 80 | phpize && \ 81 | ./configure && \ 82 | make && \ 83 | make install 84 | 85 | # Enable other ruby193 SCL config 86 | ENV LD_LIBRARY_PATH /opt/rh/ruby193/root/usr/lib64 87 | ENV PKG_CONFIG_PATH /opt/rh/ruby193/root/usr/lib64/pkgconfig 88 | 89 | # Ensure $HOME is set 90 | ENV HOME /root 91 | 92 | # Configure Git 93 | # https://git-scm.com/docs/git-config#git-config-corepreloadIndex 94 | RUN git config --global core.preloadindex true 95 | 96 | # Install Composer 97 | RUN curl -sS https://getcomposer.org/installer | php && mv composer.phar /usr/bin/composer 98 | # https://getcomposer.org/doc/03-cli.md#composer-allow-superuser 99 | ENV COMPOSER_ALLOW_SUPERUSER 1 100 | 101 | # Add global composer dependencies. 102 | # Drush for drupal development. 103 | # prestissimo for parallelized composer download operations. 104 | RUN composer global require drush/drush:8.x hirak/prestissimo:^0.3 && \ 105 | composer clear-cache 106 | 107 | # Install nvm, supported node versions, and default cli modules. 108 | ENV NVM_DIR $HOME/.nvm 109 | ENV NODE_VERSION 4 110 | RUN (curl https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash) && \ 111 | chmod +x $HOME/.nvm/nvm.sh 112 | 113 | # Node 4.x (LTS) 114 | RUN source $NVM_DIR/nvm.sh && \ 115 | nvm install 4 && \ 116 | npm install -g bower grunt-cli gulp-cli && \ 117 | npm cache clean 118 | # Node 6.x (stable) 119 | RUN source $NVM_DIR/nvm.sh && \ 120 | nvm install 6 && \ 121 | npm install -g bower grunt-cli gulp-cli && \ 122 | npm cache clean 123 | # Node 8.x (stable) 124 | RUN source $NVM_DIR/nvm.sh && \ 125 | nvm install 8 && \ 126 | npm install -g bower grunt-cli gulp-cli && \ 127 | # npm v5 recommends not clearing caches because of improved consistency. 128 | # This is not an argument that applies to Docker image layer size. 129 | npm cache clean --force 130 | # Set the default version which can be overridden by ENV. 131 | RUN source $NVM_DIR/nvm.sh && nvm alias default $NODE_VERSION && nvm cache clear 132 | 133 | # Configure npm for container life. 134 | ENV NPM_CONFIG_UNSAFE_PERM true 135 | # Configure bower for container life. 136 | ENV BOWER_ALLOW_ROOT true 137 | 138 | COPY root / 139 | 140 | # Install Drush commands 141 | RUN drush pm-download -yv registry_rebuild-7.x --destination=/etc/drush/commands 142 | 143 | # Run the s6-based init. 144 | ENTRYPOINT ["/init"] 145 | 146 | # Set up a standard volume for logs. 147 | VOLUME ["/var/log/services"] 148 | 149 | CMD [ "/versions.sh" ] 150 | -------------------------------------------------------------------------------- /php70/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM centos:7 2 | 3 | # Install base packages. 4 | RUN yum -y install epel-release centos-release-scl yum-plugin-ovl deltarpm && \ 5 | yum -y update && \ 6 | yum -y install sudo ssh curl less vim-minimal dnsutils openssl && \ 7 | yum clean all 8 | 9 | RUN yum-config-manager --enable rhel-server-rhscl-7-rpms 10 | 11 | # Download confd. 12 | ENV CONFD_VERSION 0.11.0 13 | RUN curl -L "https://github.com/kelseyhightower/confd/releases/download/v$CONFD_VERSION/confd-$CONFD_VERSION-linux-amd64" > /usr/bin/confd && \ 14 | chmod +x /usr/bin/confd 15 | ENV CONFD_OPTS '--backend=env --onetime' 16 | 17 | RUN yum -y install \ 18 | https://rpms.remirepo.net/enterprise/remi-release-7.rpm \ 19 | yum -y update && \ 20 | yum clean all 21 | 22 | # Add the IUS repository. This is needed for git2. 23 | RUN curl -L "https://centos7.iuscommunity.org/ius-release.rpm" > /usr/local/ius-release.rpm && \ 24 | rpm -Uvh /usr/local/ius-release.rpm 25 | 26 | RUN yum -y install \ 27 | # Install PHP 28 | php70 \ 29 | php70-php-devel \ 30 | php70-php-gd \ 31 | php70-php-xml \ 32 | php70-php-pdo \ 33 | php70-php-mysql \ 34 | php70-php-mysqlnd \ 35 | php70-php-mbstring \ 36 | php70-php-fpm \ 37 | php70-php-opcache \ 38 | php70-php-pecl-memcache \ 39 | php70-php-pecl-xdebug \ 40 | php70-php-posix \ 41 | php70-php-mcrypt \ 42 | php70-php-pecl-yaml \ 43 | php70-php-pecl-zip \ 44 | # Install Ruby 45 | ruby193 \ 46 | ruby193-rubygems \ 47 | ruby193-ruby-devel \ 48 | # Install Miscellaneous Tools 49 | bzip2 \ 50 | gcc-c++ \ 51 | git2u-all \ 52 | httpd-tools \ 53 | jq \ 54 | make \ 55 | mariadb \ 56 | nmap-ncat \ 57 | patch \ 58 | postgresql \ 59 | pv \ 60 | rsync \ 61 | sendmail \ 62 | unzip \ 63 | # Necessary for drush 64 | which \ 65 | # Necessary library for phantomjs per https://github.com/ariya/phantomjs/issues/10904 66 | fontconfig \ 67 | && yum clean all 68 | 69 | # Ensure ruby193 binaries are in path 70 | ENV PATH /root/.composer/vendor/bin:/opt/rh/ruby193/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 71 | 72 | # Ensure PHP binaries are in path 73 | RUN ln -sfv /opt/remi/php70/root/usr/bin/* /usr/bin/ && \ 74 | ln -sfv /opt/remi/php70/root/usr/sbin/* /usr/sbin/ 75 | 76 | # Install PHPRedis extension 77 | ENV PHPREDIS_VERSION 3.1.2 78 | RUN curl -L -o /tmp/phpredis.tar.gz "https://github.com/phpredis/phpredis/archive/$PHPREDIS_VERSION.tar.gz" && \ 79 | tar -xzf /tmp/phpredis.tar.gz -C /tmp && \ 80 | rm /tmp/phpredis.tar.gz && \ 81 | cd "/tmp/phpredis-$PHPREDIS_VERSION" && \ 82 | phpize && \ 83 | ./configure && \ 84 | make && \ 85 | make install 86 | 87 | # Enable other ruby193 SCL config 88 | ENV LD_LIBRARY_PATH /opt/rh/ruby193/root/usr/lib64 89 | ENV PKG_CONFIG_PATH /opt/rh/ruby193/root/usr/lib64/pkgconfig 90 | 91 | # Ensure $HOME is set 92 | ENV HOME /root 93 | 94 | # Configure Git 95 | # https://git-scm.com/docs/git-config#git-config-corepreloadIndex 96 | RUN git config --global core.preloadindex true 97 | 98 | # Install Composer 99 | RUN curl -sS https://getcomposer.org/installer | php && mv composer.phar /usr/bin/composer 100 | # https://getcomposer.org/doc/03-cli.md#composer-allow-superuser 101 | ENV COMPOSER_ALLOW_SUPERUSER 1 102 | 103 | # Add global composer dependencies. 104 | # Drush for drupal development. 105 | # prestissimo for parallelized composer download operations. 106 | RUN composer global require drush/drush:8.x hirak/prestissimo:^0.3 && \ 107 | composer clear-cache 108 | 109 | # Install nvm, supported node versions, and default cli modules. 110 | ENV NVM_DIR $HOME/.nvm 111 | ENV NODE_VERSION 4 112 | RUN (curl https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash) && \ 113 | chmod +x $HOME/.nvm/nvm.sh 114 | 115 | # Node 4.x (LTS) 116 | RUN source $NVM_DIR/nvm.sh && \ 117 | nvm install 4 && \ 118 | npm install -g bower grunt-cli gulp-cli && \ 119 | npm cache clean 120 | # Node 6.x (stable) 121 | RUN source $NVM_DIR/nvm.sh && \ 122 | nvm install 6 && \ 123 | npm install -g bower grunt-cli gulp-cli && \ 124 | npm cache clean 125 | # Node 8.x (stable) 126 | RUN source $NVM_DIR/nvm.sh && \ 127 | nvm install 8 && \ 128 | npm install -g bower grunt-cli gulp-cli && \ 129 | # npm v5 recommends not clearing caches because of improved consistency. 130 | # This is not an argument that applies to Docker image layer size. 131 | npm cache clean --force 132 | # Set the default version which can be overridden by ENV. 133 | RUN source $NVM_DIR/nvm.sh && nvm alias default $NODE_VERSION && nvm cache clear 134 | 135 | # Configure npm for container life. 136 | ENV NPM_CONFIG_UNSAFE_PERM true 137 | # Configure bower for container life. 138 | ENV BOWER_ALLOW_ROOT true 139 | 140 | COPY root / 141 | 142 | # Install Drush commands 143 | RUN drush pm-download -yv registry_rebuild-7.x --destination=/etc/drush/commands 144 | 145 | # Run the s6-based init. 146 | ENTRYPOINT ["/init"] 147 | 148 | # Set up a standard volume for logs. 149 | VOLUME ["/var/log/services"] 150 | 151 | CMD [ "/versions.sh" ] 152 | -------------------------------------------------------------------------------- /php71/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM centos:7 2 | 3 | # Install base packages. 4 | RUN yum -y install epel-release centos-release-scl yum-plugin-ovl deltarpm && \ 5 | yum -y update && \ 6 | yum -y install sudo ssh curl less vim-minimal dnsutils openssl && \ 7 | yum clean all 8 | 9 | RUN yum-config-manager --enable rhel-server-rhscl-7-rpms 10 | 11 | # Download confd. 12 | ENV CONFD_VERSION 0.11.0 13 | RUN curl -L "https://github.com/kelseyhightower/confd/releases/download/v$CONFD_VERSION/confd-$CONFD_VERSION-linux-amd64" > /usr/bin/confd && \ 14 | chmod +x /usr/bin/confd 15 | ENV CONFD_OPTS '--backend=env --onetime' 16 | 17 | RUN yum -y install \ 18 | https://rpms.remirepo.net/enterprise/remi-release-7.rpm \ 19 | yum -y update && \ 20 | yum clean all 21 | 22 | # Add the IUS repository. This is needed for git2. 23 | RUN curl -L "https://centos7.iuscommunity.org/ius-release.rpm" > /usr/local/ius-release.rpm && \ 24 | rpm -Uvh /usr/local/ius-release.rpm 25 | 26 | RUN yum -y install \ 27 | # Install PHP 28 | php71 \ 29 | php71-php-devel \ 30 | php71-php-gd \ 31 | php71-php-xml \ 32 | php71-php-pdo \ 33 | php71-php-mysql \ 34 | php71-php-mysqlnd \ 35 | php71-php-mbstring \ 36 | php71-php-fpm \ 37 | php71-php-opcache \ 38 | php71-php-pecl-memcache \ 39 | php71-php-pecl-xdebug \ 40 | php71-php-posix \ 41 | php71-php-mcrypt \ 42 | php71-php-pecl-yaml \ 43 | php71-php-pecl-zip \ 44 | # Install Ruby 45 | ruby193 \ 46 | ruby193-rubygems \ 47 | ruby193-ruby-devel \ 48 | # Install Miscellaneous Tools 49 | bzip2 \ 50 | gcc-c++ \ 51 | git2u-all \ 52 | httpd-tools \ 53 | jq \ 54 | make \ 55 | mariadb \ 56 | nmap-ncat \ 57 | patch \ 58 | postgresql \ 59 | pv \ 60 | rsync \ 61 | sendmail \ 62 | unzip \ 63 | # Necessary for drush 64 | which \ 65 | # Necessary library for phantomjs per https://github.com/ariya/phantomjs/issues/10904 66 | fontconfig \ 67 | && yum clean all 68 | 69 | # Ensure ruby193 binaries are in path 70 | ENV PATH /root/.composer/vendor/bin:/opt/rh/ruby193/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 71 | 72 | # Ensure PHP binaries are in path 73 | RUN ln -sfv /opt/remi/php71/root/usr/bin/* /usr/bin/ && \ 74 | ln -sfv /opt/remi/php71/root/usr/sbin/* /usr/sbin/ 75 | 76 | # Install PHPRedis extension 77 | ENV PHPREDIS_VERSION 3.1.2 78 | RUN curl -L -o /tmp/phpredis.tar.gz "https://github.com/phpredis/phpredis/archive/$PHPREDIS_VERSION.tar.gz" && \ 79 | tar -xzf /tmp/phpredis.tar.gz -C /tmp && \ 80 | rm /tmp/phpredis.tar.gz && \ 81 | cd "/tmp/phpredis-$PHPREDIS_VERSION" && \ 82 | phpize && \ 83 | ./configure && \ 84 | make && \ 85 | make install 86 | 87 | # Enable other ruby193 SCL config 88 | ENV LD_LIBRARY_PATH /opt/rh/ruby193/root/usr/lib64 89 | ENV PKG_CONFIG_PATH /opt/rh/ruby193/root/usr/lib64/pkgconfig 90 | 91 | # Ensure $HOME is set 92 | ENV HOME /root 93 | 94 | # Configure Git 95 | # https://git-scm.com/docs/git-config#git-config-corepreloadIndex 96 | RUN git config --global core.preloadindex true 97 | 98 | # Install Composer 99 | RUN curl -sS https://getcomposer.org/installer | php && mv composer.phar /usr/bin/composer 100 | # https://getcomposer.org/doc/03-cli.md#composer-allow-superuser 101 | ENV COMPOSER_ALLOW_SUPERUSER 1 102 | 103 | # Add global composer dependencies. 104 | # Drush for drupal development. 105 | # prestissimo for parallelized composer download operations. 106 | RUN composer global require drush/drush:8.x hirak/prestissimo:^0.3 && \ 107 | composer clear-cache 108 | 109 | # Install nvm, supported node versions, and default cli modules. 110 | ENV NVM_DIR $HOME/.nvm 111 | ENV NODE_VERSION 4 112 | RUN (curl https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash) && \ 113 | chmod +x $HOME/.nvm/nvm.sh 114 | 115 | # Node 4.x (LTS) 116 | RUN source $NVM_DIR/nvm.sh && \ 117 | nvm install 4 && \ 118 | npm install -g bower grunt-cli gulp-cli && \ 119 | npm cache clean 120 | # Node 6.x (stable) 121 | RUN source $NVM_DIR/nvm.sh && \ 122 | nvm install 6 && \ 123 | npm install -g bower grunt-cli gulp-cli && \ 124 | npm cache clean 125 | # Node 8.x (stable) 126 | RUN source $NVM_DIR/nvm.sh && \ 127 | nvm install 8 && \ 128 | npm install -g bower grunt-cli gulp-cli && \ 129 | # npm v5 recommends not clearing caches because of improved consistency. 130 | # This is not an argument that applies to Docker image layer size. 131 | npm cache clean --force 132 | # Set the default version which can be overridden by ENV. 133 | RUN source $NVM_DIR/nvm.sh && nvm alias default $NODE_VERSION && nvm cache clear 134 | 135 | # Configure npm for container life. 136 | ENV NPM_CONFIG_UNSAFE_PERM true 137 | # Configure bower for container life. 138 | ENV BOWER_ALLOW_ROOT true 139 | 140 | COPY root / 141 | 142 | # Install Drush commands 143 | RUN drush pm-download -yv registry_rebuild-7.x --destination=/etc/drush/commands 144 | 145 | # Run the s6-based init. 146 | ENTRYPOINT ["/init"] 147 | 148 | # Set up a standard volume for logs. 149 | VOLUME ["/var/log/services"] 150 | 151 | CMD [ "/versions.sh" ] 152 | -------------------------------------------------------------------------------- /php72/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM centos:7 2 | 3 | # Install base packages. 4 | RUN yum -y install epel-release centos-release-scl yum-plugin-ovl deltarpm && \ 5 | yum -y update && \ 6 | yum -y install sudo ssh curl less vim-minimal dnsutils openssl && \ 7 | yum clean all 8 | 9 | RUN yum-config-manager --enable rhel-server-rhscl-7-rpms 10 | 11 | # Download confd. 12 | ENV CONFD_VERSION 0.11.0 13 | RUN curl -L "https://github.com/kelseyhightower/confd/releases/download/v$CONFD_VERSION/confd-$CONFD_VERSION-linux-amd64" > /usr/bin/confd && \ 14 | chmod +x /usr/bin/confd 15 | ENV CONFD_OPTS '--backend=env --onetime' 16 | 17 | RUN yum -y install \ 18 | https://rpms.remirepo.net/enterprise/remi-release-7.rpm \ 19 | yum -y update && \ 20 | yum clean all 21 | 22 | # Add the IUS repository. This is needed for git2. 23 | RUN curl -L "https://centos7.iuscommunity.org/ius-release.rpm" > /usr/local/ius-release.rpm && \ 24 | rpm -Uvh /usr/local/ius-release.rpm 25 | 26 | RUN yum -y install \ 27 | # Install PHP 28 | php72 \ 29 | php72-php-devel \ 30 | php72-php-gd \ 31 | php72-php-xml \ 32 | php72-php-pdo \ 33 | php72-php-mysql \ 34 | php72-php-mysqlnd \ 35 | php72-php-mbstring \ 36 | php72-php-fpm \ 37 | php72-php-opcache \ 38 | php72-php-pecl-memcache \ 39 | php72-php-pecl-xdebug \ 40 | php72-php-posix \ 41 | php72-php-mcrypt \ 42 | php72-php-pecl-yaml \ 43 | php72-php-pecl-zip \ 44 | # Install Ruby 45 | ruby193 \ 46 | ruby193-rubygems \ 47 | ruby193-ruby-devel \ 48 | # Install Miscellaneous Tools 49 | bzip2 \ 50 | gcc-c++ \ 51 | git2u-all \ 52 | httpd-tools \ 53 | jq \ 54 | make \ 55 | mariadb \ 56 | nmap-ncat \ 57 | patch \ 58 | postgresql \ 59 | pv \ 60 | rsync \ 61 | sendmail \ 62 | unzip \ 63 | # Necessary for drush 64 | which \ 65 | # Necessary library for phantomjs per https://github.com/ariya/phantomjs/issues/10904 66 | fontconfig \ 67 | && yum clean all 68 | 69 | # Ensure ruby193 binaries are in path 70 | ENV PATH /root/.composer/vendor/bin:/opt/rh/ruby193/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 71 | 72 | # Ensure PHP binaries are in path 73 | RUN ln -sfv /opt/remi/php72/root/usr/bin/* /usr/bin/ && \ 74 | ln -sfv /opt/remi/php72/root/usr/sbin/* /usr/sbin/ 75 | 76 | # Install PHPRedis extension 77 | ENV PHPREDIS_VERSION 3.1.2 78 | RUN curl -L -o /tmp/phpredis.tar.gz "https://github.com/phpredis/phpredis/archive/$PHPREDIS_VERSION.tar.gz" && \ 79 | tar -xzf /tmp/phpredis.tar.gz -C /tmp && \ 80 | rm /tmp/phpredis.tar.gz && \ 81 | cd "/tmp/phpredis-$PHPREDIS_VERSION" && \ 82 | phpize && \ 83 | ./configure && \ 84 | make && \ 85 | make install 86 | 87 | # Enable other ruby193 SCL config 88 | ENV LD_LIBRARY_PATH /opt/rh/ruby193/root/usr/lib64 89 | ENV PKG_CONFIG_PATH /opt/rh/ruby193/root/usr/lib64/pkgconfig 90 | 91 | # Ensure $HOME is set 92 | ENV HOME /root 93 | 94 | # Configure Git 95 | # https://git-scm.com/docs/git-config#git-config-corepreloadIndex 96 | RUN git config --global core.preloadindex true 97 | 98 | # Install Composer 99 | RUN curl -sS https://getcomposer.org/installer | php && mv composer.phar /usr/bin/composer 100 | # https://getcomposer.org/doc/03-cli.md#composer-allow-superuser 101 | ENV COMPOSER_ALLOW_SUPERUSER 1 102 | 103 | # Add global composer dependencies. 104 | # Drush for drupal development. 105 | # prestissimo for parallelized composer download operations. 106 | RUN composer global require drush/drush:8.x hirak/prestissimo:^0.3 && \ 107 | composer clear-cache 108 | 109 | # Install nvm, supported node versions, and default cli modules. 110 | ENV NVM_DIR $HOME/.nvm 111 | ENV NODE_VERSION 4 112 | RUN (curl https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash) && \ 113 | chmod +x $HOME/.nvm/nvm.sh 114 | 115 | # Node 4.x (LTS) 116 | RUN source $NVM_DIR/nvm.sh && \ 117 | nvm install 4 && \ 118 | npm install -g bower grunt-cli gulp-cli && \ 119 | npm cache clean 120 | # Node 6.x (stable) 121 | RUN source $NVM_DIR/nvm.sh && \ 122 | nvm install 6 && \ 123 | npm install -g bower grunt-cli gulp-cli && \ 124 | npm cache clean 125 | # Node 8.x (stable) 126 | RUN source $NVM_DIR/nvm.sh && \ 127 | nvm install 8 && \ 128 | npm install -g bower grunt-cli gulp-cli && \ 129 | # npm v5 recommends not clearing caches because of improved consistency. 130 | # This is not an argument that applies to Docker image layer size. 131 | npm cache clean --force 132 | # Set the default version which can be overridden by ENV. 133 | RUN source $NVM_DIR/nvm.sh && nvm alias default $NODE_VERSION && nvm cache clear 134 | 135 | # Configure npm for container life. 136 | ENV NPM_CONFIG_UNSAFE_PERM true 137 | # Configure bower for container life. 138 | ENV BOWER_ALLOW_ROOT true 139 | 140 | COPY root / 141 | 142 | # Install Drush commands 143 | RUN drush pm-download -yv registry_rebuild-7.x --destination=/etc/drush/commands 144 | 145 | # Run the s6-based init. 146 | ENTRYPOINT ["/init"] 147 | 148 | # Set up a standard volume for logs. 149 | VOLUME ["/var/log/services"] 150 | 151 | CMD [ "/versions.sh" ] 152 | -------------------------------------------------------------------------------- /php56/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM centos:7 2 | 3 | # Install base packages. 4 | RUN yum -y install epel-release yum-plugin-ovl deltarpm && \ 5 | yum -y update && \ 6 | yum -y install sudo ssh curl less vim-minimal dnsutils openssl && \ 7 | yum clean all 8 | 9 | # Download confd. 10 | ENV CONFD_VERSION 0.11.0 11 | RUN curl -L "https://github.com/kelseyhightower/confd/releases/download/v$CONFD_VERSION/confd-$CONFD_VERSION-linux-amd64" > /usr/bin/confd && \ 12 | chmod +x /usr/bin/confd 13 | ENV CONFD_OPTS '--backend=env --onetime' 14 | 15 | RUN yum -y install \ 16 | centos-release-scl-rh \ 17 | https://www.softwarecollections.org/en/scls/remi/php56more/epel-7-x86_64/download/remi-php56more-epel-7-x86_64.noarch.rpm \ 18 | https://www.softwarecollections.org/en/scls/rhscl/ruby193/epel-7-x86_64/download/rhscl-ruby193-epel-7-x86_64.noarch.rpm \ 19 | https://www.softwarecollections.org/en/scls/rhscl/v8314/epel-7-x86_64/download/rhscl-v8314-epel-7-x86_64.noarch.rpm && \ 20 | yum -y update && \ 21 | yum clean all 22 | 23 | # Add the IUS repository. This is needed for git2. 24 | RUN curl -L "https://centos7.iuscommunity.org/ius-release.rpm" > /usr/local/ius-release.rpm && \ 25 | rpm -Uvh /usr/local/ius-release.rpm 26 | 27 | RUN yum -y install \ 28 | # Install PHP 29 | rh-php56 \ 30 | rh-php56-php-devel \ 31 | rh-php56-php-gd \ 32 | rh-php56-php-xml \ 33 | rh-php56-php-pdo \ 34 | rh-php56-php-mysql \ 35 | rh-php56-php-mbstring \ 36 | rh-php56-php-fpm \ 37 | rh-php56-php-opcache \ 38 | rh-php56-php-pecl-memcache \ 39 | rh-php56-php-pecl-xdebug \ 40 | more-php56-php-mcrypt \ 41 | more-php56-php-pecl-xhprof \ 42 | more-php56-php-pecl-yaml \ 43 | # Install Ruby 44 | ruby193 \ 45 | ruby193-rubygems \ 46 | ruby193-ruby-devel \ 47 | # Install Miscellaneous Tools 48 | bzip2 \ 49 | gcc-c++ \ 50 | git2u-all \ 51 | httpd-tools \ 52 | jq \ 53 | make \ 54 | mariadb \ 55 | nmap-ncat \ 56 | patch \ 57 | postgresql \ 58 | pv \ 59 | rsync \ 60 | sendmail \ 61 | unzip \ 62 | # Necessary for drush 63 | which \ 64 | # Necessary library for phantomjs per https://github.com/ariya/phantomjs/issues/10904 65 | fontconfig \ 66 | && yum clean all 67 | 68 | # Ensure ruby193 binaries are in path 69 | ENV PATH /root/.composer/vendor/bin:/opt/rh/ruby193/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 70 | 71 | # Ensure PHP Binaries are in path 72 | RUN ln -sfv /opt/rh/rh-php56/root/usr/bin/* /usr/bin/ && \ 73 | ln -sfv /opt/rh/rh-php56/root/usr/sbin/* /usr/sbin/ 74 | 75 | # Install PHPRedis extension 76 | ENV PHPREDIS_VERSION 3.1.2 77 | RUN curl -L -o /tmp/phpredis.tar.gz "https://github.com/phpredis/phpredis/archive/$PHPREDIS_VERSION.tar.gz" && \ 78 | tar -xzf /tmp/phpredis.tar.gz -C /tmp && \ 79 | rm /tmp/phpredis.tar.gz && \ 80 | cd "/tmp/phpredis-$PHPREDIS_VERSION" && \ 81 | phpize && \ 82 | ./configure && \ 83 | make && \ 84 | make install 85 | 86 | # Enable other ruby193 SCL config 87 | ENV LD_LIBRARY_PATH /opt/rh/ruby193/root/usr/lib64 88 | ENV PKG_CONFIG_PATH /opt/rh/ruby193/root/usr/lib64/pkgconfig 89 | 90 | # Ensure $HOME is set 91 | ENV HOME /root 92 | 93 | # Configure Git 94 | # https://git-scm.com/docs/git-config#git-config-corepreloadIndex 95 | RUN git config --global core.preloadindex true 96 | 97 | # Install Composer 98 | RUN curl -sS https://getcomposer.org/installer | php && mv composer.phar /usr/bin/composer 99 | # https://getcomposer.org/doc/03-cli.md#composer-allow-superuser 100 | ENV COMPOSER_ALLOW_SUPERUSER 1 101 | 102 | # Add global composer dependencies. 103 | # Drush for drupal development. 104 | # prestissimo for parallelized composer download operations. 105 | RUN composer global require drush/drush:8.x hirak/prestissimo:^0.3 && \ 106 | composer clear-cache 107 | 108 | # Install nvm, supported node versions, and default cli modules. 109 | ENV NVM_DIR $HOME/.nvm 110 | ENV NODE_VERSION 4 111 | RUN (curl https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash) && \ 112 | chmod +x $HOME/.nvm/nvm.sh 113 | 114 | # Node 4.x (LTS) 115 | RUN source $NVM_DIR/nvm.sh && \ 116 | nvm install 4 && \ 117 | npm install -g bower grunt-cli gulp-cli && \ 118 | npm cache clean 119 | # Node 6.x (stable) 120 | RUN source $NVM_DIR/nvm.sh && \ 121 | nvm install 6 && \ 122 | npm install -g bower grunt-cli gulp-cli && \ 123 | npm cache clean 124 | # Node 8.x (stable) 125 | RUN source $NVM_DIR/nvm.sh && \ 126 | nvm install 8 && \ 127 | npm install -g bower grunt-cli gulp-cli && \ 128 | # npm v5 recommends not clearing caches because of improved consistency. 129 | # This is not an argument that applies to Docker image layer size. 130 | npm cache clean --force 131 | # Set the default version which can be overridden by ENV. 132 | RUN source $NVM_DIR/nvm.sh && nvm alias default $NODE_VERSION && nvm cache clear 133 | 134 | # Configure npm for container life. 135 | ENV NPM_CONFIG_UNSAFE_PERM true 136 | # Configure bower for container life. 137 | ENV BOWER_ALLOW_ROOT true 138 | 139 | COPY root / 140 | 141 | # Install Drush commands 142 | RUN drush pm-download -yv registry_rebuild-7.x --destination=/etc/drush/commands 143 | 144 | # Run the s6-based init. 145 | ENTRYPOINT ["/init"] 146 | 147 | # Set up a standard volume for logs. 148 | VOLUME ["/var/log/services"] 149 | 150 | CMD [ "/versions.sh" ] 151 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Outrigger Build 2 | 3 | > The Outrigger Build image provides a command-line toolkit for PHP & Node development with Drupal support. 4 | 5 | ## Supported tags and respective `Dockerfile` links 6 | 7 | - [`php55` (*php55/Dockerfile*)](https://github.com/phase2/docker-build/blob/master/php55/Dockerfile) [![](https://images.microbadger.com/badges/image/outrigger/build:php55.svg)](https://microbadger.com/images/outrigger/build:php55 "Get your own image badge on microbadger.com") 8 | - [`php56` (*php56/Dockerfile*)](https://github.com/phase2/docker-build/blob/master/php56/Dockerfile) [![](https://images.microbadger.com/badges/image/outrigger/build:php56.svg)](https://microbadger.com/images/outrigger/build:php56 "Get your own image badge on microbadger.com") 9 | - [`php70` (*php70/Dockerfile*)](https://github.com/phase2/docker-build/blob/master/php70/Dockerfile) [![](https://images.microbadger.com/badges/image/outrigger/build:php70.svg)](https://microbadger.com/images/outrigger/build:php70 "Get your own image badge on microbadger.com") 10 | - [`php71` (*php71/Dockerfile*)](https://github.com/phase2/docker-build/blob/master/php71/Dockerfile) [![](https://images.microbadger.com/badges/image/outrigger/build:php71.svg)](https://microbadger.com/images/outrigger/build:php71 "Get your own image badge on microbadger.com") 11 | - [`php72` (*php72/Dockerfile*)](https://github.com/phase2/docker-build/blob/master/php72/Dockerfile) [![](https://images.microbadger.com/badges/image/outrigger/build:php72.svg)](https://microbadger.com/images/outrigger/build:php72 "Get your own image badge on microbadger.com") 12 | - [`php73` (*php73/Dockerfile*)](https://github.com/phase2/docker-build/blob/master/php73/Dockerfile) [![](https://images.microbadger.com/badges/image/outrigger/build:php73.svg)](https://microbadger.com/images/outrigger/build:php73 "Get your own image badge on microbadger.com") 13 | 14 | This image provides the many development tools necessary to build applications 15 | the Outrigger way, bundled with a wide array of tools useful for development and 16 | troubleshooting via the command-line interface. While it is possible to directly 17 | connect to the web containers, this is the preferred way to perform "server work". 18 | 19 | For more documentation on how Outrigger images are constructed and how to work 20 | with them, please [see the documentation](http://docs.outrigger.sh). 21 | 22 | ## Features 23 | 24 | * Out of the box support for PHP (version based on tag), Ruby and multiple Node LTS versions (based on environment var, see below) 25 | * Global availability of Composer, Drush, NPM, Bower, Grunt, Gulp, and Yeoman. 26 | 27 | For more details of specific packages, libraries, and utilities, please see the 28 | [Dockerfile](https://github.com/phase2/docker-build/blob/master/php71/Dockerfile). 29 | 30 | ### Drush (Drupal Shell) Integration 31 | 32 | There is global configuration for Drush at `/etc/drush/drushrc.php`. 33 | 34 | Default configuration in this file provides the following: 35 | 36 | * Unlimited memory for PHP operations run via Drush. 37 | * Unlimited execution time for PHP operations run via Drush. 38 | * Drush commands will be looked up in `/etc/drush/commands`. 39 | * Drush aliases will be looked up in `/etc/drush`. 40 | 41 | ### Additional Commands 42 | 43 | * **Registry Rebuild**: `drush rr` is included by default. 44 | 45 | ### BASH History Persistence 46 | 47 | If you would like your bash history preserved, provide a volume mount to a persistent 48 | data location at /root/bash and initialization scripts will ensure your .bash\_history 49 | file is written there. For example `/data/PROJECT/ENV/bash:/root/bash` 50 | 51 | ## Environment Variables 52 | 53 | Outrigger images use Environment Variables and [confd](https://github.com/kelseyhightower/confd) to templatize a number 54 | of Docker environment configurations. These templates are processed on startup with environment variables passed in 55 | via the docker run command-line or via your `docker-compose.yml` manifest file. Here are the "tunable" configurations 56 | offered by this image. 57 | 58 | * `NODE_VERSION`: [`4`|`6`|`8`] Defaults to 4. Selects the major version of Node 59 | to make available to all tools via nvm. The latest minor release as of the image build will be used. 60 | * `PHP_XDEBUG`: [`"true"`|`"false"`] Specify whether the PHP Xdebug extension should be enabled. Xdebug is configured to autostart on script execution and attempt to use a remote connection to 192.168.99.1 on port 9000. 61 | * `PHP_YAML`: [`"false"`|`"true"`] A string literal to enable PHP YAML extension. 62 | Defaults to `"false"`. 63 | * `XDEBUG_CONFIG`: This can be used to override many of the Xdebug remote settings. You can find documentation of this variable at [https://xdebug.org/docs/remote](https://xdebug.org/docs/remote). By default this variable is not set as all needed configuration is set within the .ini file. An example setting to override the remote host and port would be `"remote_host=172.17.0.1 remote_port=9999"`. 64 | 65 | ### Default Tools Configuration 66 | 67 | A number of tools that are built into the Build image can be further configured by environment variables. These can be overridden 68 | by your `docker run` command or your docker-compose configuration. For more details on these variables or other environment variable 69 | options, check the configuration documentation for individual tools. 70 | 71 | * **Composer**: 72 | * `COMPOSER_ALLOW_SUPERUSER`: [`1`] Run composer as the root user. 73 | * **npm**: 74 | * `NPM_CONFIG_UNSAFE_PERM`: [`true`] Run npm commands with the --unsafe-perm flag. This makes behavior of running npm as root more consistent when using npm scripts that call other npm scripts. 75 | * **bower**: 76 | * `BOWER_ALLOW_ROOT`: [`true`] Bower will refuse to execute when run as root without the --allow-root flag. This sets that as a persisting configuration. 77 | 78 | Unless you are modifying a customized Build image to run as a user other than **root** you will not need to change these. 79 | 80 | ## Security Reports 81 | 82 | Please email outrigger@phase2technology.com with security concerns. 83 | 84 | ## Maintainers 85 | 86 | [![Phase2 Logo](https://s3.amazonaws.com/phase2.public/logos/phase2-logo.png)](https://www.phase2technology.com) 87 | -------------------------------------------------------------------------------- /php70/root/etc/opt/remi/php70/php.ini: -------------------------------------------------------------------------------- 1 | [PHP] 2 | 3 | ;;;;;;;;;;;;;;;;;;; 4 | ; About php.ini ; 5 | ;;;;;;;;;;;;;;;;;;; 6 | ; PHP's initialization file, generally called php.ini, is responsible for 7 | ; configuring many of the aspects of PHP's behavior. 8 | 9 | ; PHP attempts to find and load this configuration from a number of locations. 10 | ; The following is a summary of its search order: 11 | ; 1. SAPI module specific location. 12 | ; 2. The PHPRC environment variable. (As of PHP 5.2.0) 13 | ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0) 14 | ; 4. Current working directory (except CLI) 15 | ; 5. The web server's directory (for SAPI modules), or directory of PHP 16 | ; (otherwise in Windows) 17 | ; 6. The directory from the --with-config-file-path compile time option, or the 18 | ; Windows directory (C:\windows or C:\winnt) 19 | ; See the PHP docs for more specific information. 20 | ; http://php.net/configuration.file 21 | 22 | ; The syntax of the file is extremely simple. Whitespace and lines 23 | ; beginning with a semicolon are silently ignored (as you probably guessed). 24 | ; Section headers (e.g. [Foo]) are also silently ignored, even though 25 | ; they might mean something in the future. 26 | 27 | ; Directives following the section heading [PATH=/www/mysite] only 28 | ; apply to PHP files in the /www/mysite directory. Directives 29 | ; following the section heading [HOST=www.example.com] only apply to 30 | ; PHP files served from www.example.com. Directives set in these 31 | ; special sections cannot be overridden by user-defined INI files or 32 | ; at runtime. Currently, [PATH=] and [HOST=] sections only work under 33 | ; CGI/FastCGI. 34 | ; http://php.net/ini.sections 35 | 36 | ; Directives are specified using the following syntax: 37 | ; directive = value 38 | ; Directive names are *case sensitive* - foo=bar is different from FOO=bar. 39 | ; Directives are variables used to configure PHP or PHP extensions. 40 | ; There is no name validation. If PHP can't find an expected 41 | ; directive because it is not set or is mistyped, a default value will be used. 42 | 43 | ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one 44 | ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression 45 | ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a 46 | ; previously set variable or directive (e.g. ${foo}) 47 | 48 | ; Expressions in the INI file are limited to bitwise operators and parentheses: 49 | ; | bitwise OR 50 | ; ^ bitwise XOR 51 | ; & bitwise AND 52 | ; ~ bitwise NOT 53 | ; ! boolean NOT 54 | 55 | ; Boolean flags can be turned on using the values 1, On, True or Yes. 56 | ; They can be turned off using the values 0, Off, False or No. 57 | 58 | ; An empty string can be denoted by simply not writing anything after the equal 59 | ; sign, or by using the None keyword: 60 | 61 | ; foo = ; sets foo to an empty string 62 | ; foo = None ; sets foo to an empty string 63 | ; foo = "None" ; sets foo to the string 'None' 64 | 65 | ; If you use constants in your value, and these constants belong to a 66 | ; dynamically loaded extension (either a PHP extension or a Zend extension), 67 | ; you may only use these constants *after* the line that loads the extension. 68 | 69 | ;;;;;;;;;;;;;;;;;;; 70 | ; About this file ; 71 | ;;;;;;;;;;;;;;;;;;; 72 | ; PHP comes packaged with two INI files. One that is recommended to be used 73 | ; in production environments and one that is recommended to be used in 74 | ; development environments. 75 | 76 | ; php.ini-production contains settings which hold security, performance and 77 | ; best practices at its core. But please be aware, these settings may break 78 | ; compatibility with older or less security conscience applications. We 79 | ; recommending using the production ini in production and testing environments. 80 | 81 | ; php.ini-development is very similar to its production variant, except it is 82 | ; much more verbose when it comes to errors. We recommend using the 83 | ; development version only in development environments, as errors shown to 84 | ; application users can inadvertently leak otherwise secure information. 85 | 86 | ; This is php.ini-production INI file. 87 | 88 | ;;;;;;;;;;;;;;;;;;; 89 | ; Quick Reference ; 90 | ;;;;;;;;;;;;;;;;;;; 91 | ; The following are all the settings which are different in either the production 92 | ; or development versions of the INIs with respect to PHP's default behavior. 93 | ; Please see the actual settings later in the document for more details as to why 94 | ; we recommend these changes in PHP's behavior. 95 | 96 | ; display_errors 97 | ; Default Value: On 98 | ; Development Value: On 99 | ; Production Value: Off 100 | 101 | ; display_startup_errors 102 | ; Default Value: Off 103 | ; Development Value: On 104 | ; Production Value: Off 105 | 106 | ; error_reporting 107 | ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED 108 | ; Development Value: E_ALL 109 | ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT 110 | 111 | ; html_errors 112 | ; Default Value: On 113 | ; Development Value: On 114 | ; Production value: On 115 | 116 | ; log_errors 117 | ; Default Value: Off 118 | ; Development Value: On 119 | ; Production Value: On 120 | 121 | ; max_input_time 122 | ; Default Value: -1 (Unlimited) 123 | ; Development Value: 60 (60 seconds) 124 | ; Production Value: 60 (60 seconds) 125 | 126 | ; output_buffering 127 | ; Default Value: Off 128 | ; Development Value: 4096 129 | ; Production Value: 4096 130 | 131 | ; register_argc_argv 132 | ; Default Value: On 133 | ; Development Value: Off 134 | ; Production Value: Off 135 | 136 | ; request_order 137 | ; Default Value: None 138 | ; Development Value: "GP" 139 | ; Production Value: "GP" 140 | 141 | ; session.gc_divisor 142 | ; Default Value: 100 143 | ; Development Value: 1000 144 | ; Production Value: 1000 145 | 146 | ; session.hash_bits_per_character 147 | ; Default Value: 4 148 | ; Development Value: 5 149 | ; Production Value: 5 150 | 151 | ; short_open_tag 152 | ; Default Value: On 153 | ; Development Value: Off 154 | ; Production Value: Off 155 | 156 | ; track_errors 157 | ; Default Value: Off 158 | ; Development Value: On 159 | ; Production Value: Off 160 | 161 | ; url_rewriter.tags 162 | ; Default Value: "a=href,area=href,frame=src,form=,fieldset=" 163 | ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry" 164 | ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry" 165 | 166 | ; variables_order 167 | ; Default Value: "EGPCS" 168 | ; Development Value: "GPCS" 169 | ; Production Value: "GPCS" 170 | 171 | ;;;;;;;;;;;;;;;;;;;; 172 | ; php.ini Options ; 173 | ;;;;;;;;;;;;;;;;;;;; 174 | ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini" 175 | ;user_ini.filename = ".user.ini" 176 | 177 | ; To disable this feature set this option to empty value 178 | ;user_ini.filename = 179 | 180 | ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes) 181 | ;user_ini.cache_ttl = 300 182 | 183 | ;;;;;;;;;;;;;;;;;;;; 184 | ; Language Options ; 185 | ;;;;;;;;;;;;;;;;;;;; 186 | 187 | ; Enable the PHP scripting language engine under Apache. 188 | ; http://php.net/engine 189 | engine = On 190 | 191 | ; This directive determines whether or not PHP will recognize code between 192 | ; tags as PHP source which should be processed as such. It is 193 | ; generally recommended that should be used and that this feature 194 | ; should be disabled, as enabling it may result in issues when generating XML 195 | ; documents, however this remains supported for backward compatibility reasons. 196 | ; Note that this directive does not control the would work. 308 | ; http://php.net/syntax-highlighting 309 | ;highlight.string = #DD0000 310 | ;highlight.comment = #FF9900 311 | ;highlight.keyword = #007700 312 | ;highlight.default = #0000BB 313 | ;highlight.html = #000000 314 | 315 | ; If enabled, the request will be allowed to complete even if the user aborts 316 | ; the request. Consider enabling it if executing long requests, which may end up 317 | ; being interrupted by the user or a browser timing out. PHP's default behavior 318 | ; is to disable this feature. 319 | ; http://php.net/ignore-user-abort 320 | ;ignore_user_abort = On 321 | 322 | ; Determines the size of the realpath cache to be used by PHP. This value should 323 | ; be increased on systems where PHP opens many files to reflect the quantity of 324 | ; the file operations performed. 325 | ; http://php.net/realpath-cache-size 326 | ;realpath_cache_size = 16k 327 | 328 | ; Duration of time, in seconds for which to cache realpath information for a given 329 | ; file or directory. For systems with rarely changing files, consider increasing this 330 | ; value. 331 | ; http://php.net/realpath-cache-ttl 332 | ;realpath_cache_ttl = 120 333 | 334 | ; Enables or disables the circular reference collector. 335 | ; http://php.net/zend.enable-gc 336 | zend.enable_gc = On 337 | 338 | ; If enabled, scripts may be written in encodings that are incompatible with 339 | ; the scanner. CP936, Big5, CP949 and Shift_JIS are the examples of such 340 | ; encodings. To use this feature, mbstring extension must be enabled. 341 | ; Default: Off 342 | ;zend.multibyte = Off 343 | 344 | ; Allows to set the default encoding for the scripts. This value will be used 345 | ; unless "declare(encoding=...)" directive appears at the top of the script. 346 | ; Only affects if zend.multibyte is set. 347 | ; Default: "" 348 | ;zend.script_encoding = 349 | 350 | ;;;;;;;;;;;;;;;;; 351 | ; Miscellaneous ; 352 | ;;;;;;;;;;;;;;;;; 353 | 354 | ; Decides whether PHP may expose the fact that it is installed on the server 355 | ; (e.g. by adding its signature to the Web server header). It is no security 356 | ; threat in any way, but it makes it possible to determine whether you use PHP 357 | ; on your server or not. 358 | ; http://php.net/expose-php 359 | expose_php = On 360 | 361 | ;;;;;;;;;;;;;;;;;;; 362 | ; Resource Limits ; 363 | ;;;;;;;;;;;;;;;;;;; 364 | 365 | ; Maximum execution time of each script, in seconds 366 | ; http://php.net/max-execution-time 367 | ; Note: This directive is hardcoded to 0 for the CLI SAPI 368 | max_execution_time = 0 369 | 370 | ; Maximum amount of time each script may spend parsing request data. It's a good 371 | ; idea to limit this time on productions servers in order to eliminate unexpectedly 372 | ; long running scripts. 373 | ; Note: This directive is hardcoded to -1 for the CLI SAPI 374 | ; Default Value: -1 (Unlimited) 375 | ; Development Value: 60 (60 seconds) 376 | ; Production Value: 60 (60 seconds) 377 | ; http://php.net/max-input-time 378 | max_input_time = 60 379 | 380 | ; Maximum input variable nesting level 381 | ; http://php.net/max-input-nesting-level 382 | ;max_input_nesting_level = 64 383 | 384 | ; How many GET/POST/COOKIE input variables may be accepted 385 | ; max_input_vars = 1000 386 | 387 | ; Maximum amount of memory a script may consume (128MB) 388 | ; http://php.net/memory-limit 389 | memory_limit = -1 390 | 391 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 392 | ; Error handling and logging ; 393 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 394 | 395 | ; This directive informs PHP of which errors, warnings and notices you would like 396 | ; it to take action for. The recommended way of setting values for this 397 | ; directive is through the use of the error level constants and bitwise 398 | ; operators. The error level constants are below here for convenience as well as 399 | ; some common settings and their meanings. 400 | ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT 401 | ; those related to E_NOTICE and E_STRICT, which together cover best practices and 402 | ; recommended coding standards in PHP. For performance reasons, this is the 403 | ; recommend error reporting setting. Your production server shouldn't be wasting 404 | ; resources complaining about best practices and coding standards. That's what 405 | ; development servers and development settings are for. 406 | ; Note: The php.ini-development file has this setting as E_ALL. This 407 | ; means it pretty much reports everything which is exactly what you want during 408 | ; development and early testing. 409 | ; 410 | ; Error Level Constants: 411 | ; E_ALL - All errors and warnings (includes E_STRICT as of PHP 5.4.0) 412 | ; E_ERROR - fatal run-time errors 413 | ; E_RECOVERABLE_ERROR - almost fatal run-time errors 414 | ; E_WARNING - run-time warnings (non-fatal errors) 415 | ; E_PARSE - compile-time parse errors 416 | ; E_NOTICE - run-time notices (these are warnings which often result 417 | ; from a bug in your code, but it's possible that it was 418 | ; intentional (e.g., using an uninitialized variable and 419 | ; relying on the fact it is automatically initialized to an 420 | ; empty string) 421 | ; E_STRICT - run-time notices, enable to have PHP suggest changes 422 | ; to your code which will ensure the best interoperability 423 | ; and forward compatibility of your code 424 | ; E_CORE_ERROR - fatal errors that occur during PHP's initial startup 425 | ; E_CORE_WARNING - warnings (non-fatal errors) that occur during PHP's 426 | ; initial startup 427 | ; E_COMPILE_ERROR - fatal compile-time errors 428 | ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors) 429 | ; E_USER_ERROR - user-generated error message 430 | ; E_USER_WARNING - user-generated warning message 431 | ; E_USER_NOTICE - user-generated notice message 432 | ; E_DEPRECATED - warn about code that will not work in future versions 433 | ; of PHP 434 | ; E_USER_DEPRECATED - user-generated deprecation warnings 435 | ; 436 | ; Common Values: 437 | ; E_ALL (Show all errors, warnings and notices including coding standards.) 438 | ; E_ALL & ~E_NOTICE (Show all errors, except for notices) 439 | ; E_ALL & ~E_NOTICE & ~E_STRICT (Show all errors, except for notices and coding standards warnings.) 440 | ; E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR (Show only errors) 441 | ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED 442 | ; Development Value: E_ALL 443 | ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT 444 | ; http://php.net/error-reporting 445 | error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT 446 | 447 | ; This directive controls whether or not and where PHP will output errors, 448 | ; notices and warnings too. Error output is very useful during development, but 449 | ; it could be very dangerous in production environments. Depending on the code 450 | ; which is triggering the error, sensitive information could potentially leak 451 | ; out of your application such as database usernames and passwords or worse. 452 | ; For production environments, we recommend logging errors rather than 453 | ; sending them to STDOUT. 454 | ; Possible Values: 455 | ; Off = Do not display any errors 456 | ; stderr = Display errors to STDERR (affects only CGI/CLI binaries!) 457 | ; On or stdout = Display errors to STDOUT 458 | ; Default Value: On 459 | ; Development Value: On 460 | ; Production Value: Off 461 | ; http://php.net/display-errors 462 | display_errors = Off 463 | 464 | ; The display of errors which occur during PHP's startup sequence are handled 465 | ; separately from display_errors. PHP's default behavior is to suppress those 466 | ; errors from clients. Turning the display of startup errors on can be useful in 467 | ; debugging configuration problems. We strongly recommend you 468 | ; set this to 'off' for production servers. 469 | ; Default Value: Off 470 | ; Development Value: On 471 | ; Production Value: Off 472 | ; http://php.net/display-startup-errors 473 | display_startup_errors = Off 474 | 475 | ; Besides displaying errors, PHP can also log errors to locations such as a 476 | ; server-specific log, STDERR, or a location specified by the error_log 477 | ; directive found below. While errors should not be displayed on productions 478 | ; servers they should still be monitored and logging is a great way to do that. 479 | ; Default Value: Off 480 | ; Development Value: On 481 | ; Production Value: On 482 | ; http://php.net/log-errors 483 | log_errors = On 484 | 485 | ; Set maximum length of log_errors. In error_log information about the source is 486 | ; added. The default is 1024 and 0 allows to not apply any maximum length at all. 487 | ; http://php.net/log-errors-max-len 488 | log_errors_max_len = 1024 489 | 490 | ; Do not log repeated messages. Repeated errors must occur in same file on same 491 | ; line unless ignore_repeated_source is set true. 492 | ; http://php.net/ignore-repeated-errors 493 | ignore_repeated_errors = Off 494 | 495 | ; Ignore source of message when ignoring repeated messages. When this setting 496 | ; is On you will not log errors with repeated messages from different files or 497 | ; source lines. 498 | ; http://php.net/ignore-repeated-source 499 | ignore_repeated_source = Off 500 | 501 | ; If this parameter is set to Off, then memory leaks will not be shown (on 502 | ; stdout or in the log). This has only effect in a debug compile, and if 503 | ; error reporting includes E_WARNING in the allowed list 504 | ; http://php.net/report-memleaks 505 | report_memleaks = On 506 | 507 | ; This setting is on by default. 508 | ;report_zend_debug = 0 509 | 510 | ; Store the last error/warning message in $php_errormsg (boolean). Setting this value 511 | ; to On can assist in debugging and is appropriate for development servers. It should 512 | ; however be disabled on production servers. 513 | ; Default Value: Off 514 | ; Development Value: On 515 | ; Production Value: Off 516 | ; http://php.net/track-errors 517 | track_errors = Off 518 | 519 | ; Turn off normal error reporting and emit XML-RPC error XML 520 | ; http://php.net/xmlrpc-errors 521 | ;xmlrpc_errors = 0 522 | 523 | ; An XML-RPC faultCode 524 | ;xmlrpc_error_number = 0 525 | 526 | ; When PHP displays or logs an error, it has the capability of formatting the 527 | ; error message as HTML for easier reading. This directive controls whether 528 | ; the error message is formatted as HTML or not. 529 | ; Note: This directive is hardcoded to Off for the CLI SAPI 530 | ; Default Value: On 531 | ; Development Value: On 532 | ; Production value: On 533 | ; http://php.net/html-errors 534 | html_errors = On 535 | 536 | ; If html_errors is set to On *and* docref_root is not empty, then PHP 537 | ; produces clickable error messages that direct to a page describing the error 538 | ; or function causing the error in detail. 539 | ; You can download a copy of the PHP manual from http://php.net/docs 540 | ; and change docref_root to the base URL of your local copy including the 541 | ; leading '/'. You must also specify the file extension being used including 542 | ; the dot. PHP's default behavior is to leave these settings empty, in which 543 | ; case no links to documentation are generated. 544 | ; Note: Never use this feature for production boxes. 545 | ; http://php.net/docref-root 546 | ; Examples 547 | ;docref_root = "/phpmanual/" 548 | 549 | ; http://php.net/docref-ext 550 | ;docref_ext = .html 551 | 552 | ; String to output before an error message. PHP's default behavior is to leave 553 | ; this setting blank. 554 | ; http://php.net/error-prepend-string 555 | ; Example: 556 | ;error_prepend_string = "" 557 | 558 | ; String to output after an error message. PHP's default behavior is to leave 559 | ; this setting blank. 560 | ; http://php.net/error-append-string 561 | ; Example: 562 | ;error_append_string = "" 563 | 564 | ; Log errors to specified file. PHP's default behavior is to leave this value 565 | ; empty. 566 | ; http://php.net/error-log 567 | ; Example: 568 | ;error_log = php_errors.log 569 | ; Log errors to syslog. 570 | ;error_log = syslog 571 | 572 | ;windows.show_crt_warning 573 | ; Default value: 0 574 | ; Development value: 0 575 | ; Production value: 0 576 | 577 | ;;;;;;;;;;;;;;;;; 578 | ; Data Handling ; 579 | ;;;;;;;;;;;;;;;;; 580 | 581 | ; The separator used in PHP generated URLs to separate arguments. 582 | ; PHP's default setting is "&". 583 | ; http://php.net/arg-separator.output 584 | ; Example: 585 | ;arg_separator.output = "&" 586 | 587 | ; List of separator(s) used by PHP to parse input URLs into variables. 588 | ; PHP's default setting is "&". 589 | ; NOTE: Every character in this directive is considered as separator! 590 | ; http://php.net/arg-separator.input 591 | ; Example: 592 | ;arg_separator.input = ";&" 593 | 594 | ; This directive determines which super global arrays are registered when PHP 595 | ; starts up. G,P,C,E & S are abbreviations for the following respective super 596 | ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty 597 | ; paid for the registration of these arrays and because ENV is not as commonly 598 | ; used as the others, ENV is not recommended on productions servers. You 599 | ; can still get access to the environment variables through getenv() should you 600 | ; need to. 601 | ; Default Value: "EGPCS" 602 | ; Development Value: "GPCS" 603 | ; Production Value: "GPCS"; 604 | ; http://php.net/variables-order 605 | variables_order = "GPCS" 606 | 607 | ; This directive determines which super global data (G,P & C) should be 608 | ; registered into the super global array REQUEST. If so, it also determines 609 | ; the order in which that data is registered. The values for this directive 610 | ; are specified in the same manner as the variables_order directive, 611 | ; EXCEPT one. Leaving this value empty will cause PHP to use the value set 612 | ; in the variables_order directive. It does not mean it will leave the super 613 | ; globals array REQUEST empty. 614 | ; Default Value: None 615 | ; Development Value: "GP" 616 | ; Production Value: "GP" 617 | ; http://php.net/request-order 618 | request_order = "GP" 619 | 620 | ; This directive determines whether PHP registers $argv & $argc each time it 621 | ; runs. $argv contains an array of all the arguments passed to PHP when a script 622 | ; is invoked. $argc contains an integer representing the number of arguments 623 | ; that were passed when the script was invoked. These arrays are extremely 624 | ; useful when running scripts from the command line. When this directive is 625 | ; enabled, registering these variables consumes CPU cycles and memory each time 626 | ; a script is executed. For performance reasons, this feature should be disabled 627 | ; on production servers. 628 | ; Note: This directive is hardcoded to On for the CLI SAPI 629 | ; Default Value: On 630 | ; Development Value: Off 631 | ; Production Value: Off 632 | ; http://php.net/register-argc-argv 633 | register_argc_argv = Off 634 | 635 | ; When enabled, the ENV, REQUEST and SERVER variables are created when they're 636 | ; first used (Just In Time) instead of when the script starts. If these 637 | ; variables are not used within a script, having this directive on will result 638 | ; in a performance gain. The PHP directive register_argc_argv must be disabled 639 | ; for this directive to have any affect. 640 | ; http://php.net/auto-globals-jit 641 | auto_globals_jit = On 642 | 643 | ; Whether PHP will read the POST data. 644 | ; This option is enabled by default. 645 | ; Most likely, you won't want to disable this option globally. It causes $_POST 646 | ; and $_FILES to always be empty; the only way you will be able to read the 647 | ; POST data will be through the php://input stream wrapper. This can be useful 648 | ; to proxy requests or to process the POST data in a memory efficient fashion. 649 | ; http://php.net/enable-post-data-reading 650 | ;enable_post_data_reading = Off 651 | 652 | ; Maximum size of POST data that PHP will accept. 653 | ; Its value may be 0 to disable the limit. It is ignored if POST data reading 654 | ; is disabled through enable_post_data_reading. 655 | ; http://php.net/post-max-size 656 | post_max_size = 8M 657 | 658 | ; Automatically add files before PHP document. 659 | ; http://php.net/auto-prepend-file 660 | auto_prepend_file = 661 | 662 | ; Automatically add files after PHP document. 663 | ; http://php.net/auto-append-file 664 | auto_append_file = 665 | 666 | ; By default, PHP will output a character encoding using 667 | ; the Content-type: header. To disable sending of the charset, simply 668 | ; set it to be empty. 669 | ; 670 | ; PHP's built-in default is text/html 671 | ; http://php.net/default-mimetype 672 | default_mimetype = "text/html" 673 | 674 | ; PHP's default character set is set to UTF-8. 675 | ; http://php.net/default-charset 676 | default_charset = "UTF-8" 677 | 678 | ; PHP internal character encoding is set to empty. 679 | ; If empty, default_charset is used. 680 | ; http://php.net/internal-encoding 681 | ;internal_encoding = 682 | 683 | ; PHP input character encoding is set to empty. 684 | ; If empty, default_charset is used. 685 | ; http://php.net/input-encoding 686 | ;input_encoding = 687 | 688 | ; PHP output character encoding is set to empty. 689 | ; If empty, default_charset is used. 690 | ; mbstring or iconv output handler is used. 691 | ; See also output_buffer. 692 | ; http://php.net/output-encoding 693 | ;output_encoding = 694 | 695 | ;;;;;;;;;;;;;;;;;;;;;;;;; 696 | ; Paths and Directories ; 697 | ;;;;;;;;;;;;;;;;;;;;;;;;; 698 | 699 | ; UNIX: "/path1:/path2" 700 | ;include_path = ".:/php/includes" 701 | ; 702 | ; Windows: "\path1;\path2" 703 | ;include_path = ".;c:\php\includes" 704 | ; 705 | ; PHP's default setting for include_path is ".;/path/to/php/pear" 706 | ; http://php.net/include-path 707 | 708 | ; The root of the PHP pages, used only if nonempty. 709 | ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root 710 | ; if you are running php as a CGI under any web server (other than IIS) 711 | ; see documentation for security issues. The alternate is to use the 712 | ; cgi.force_redirect configuration below 713 | ; http://php.net/doc-root 714 | doc_root = 715 | 716 | ; The directory under which PHP opens the script using /~username used only 717 | ; if nonempty. 718 | ; http://php.net/user-dir 719 | user_dir = 720 | 721 | ; Directory in which the loadable extensions (modules) reside. 722 | ; http://php.net/extension-dir 723 | ; extension_dir = "./" 724 | ; On windows: 725 | ; extension_dir = "ext" 726 | 727 | ; Directory where the temporary files should be placed. 728 | ; Defaults to the system default (see sys_get_temp_dir) 729 | ; sys_temp_dir = "/tmp" 730 | 731 | ; Whether or not to enable the dl() function. The dl() function does NOT work 732 | ; properly in multithreaded servers, such as IIS or Zeus, and is automatically 733 | ; disabled on them. 734 | ; http://php.net/enable-dl 735 | enable_dl = Off 736 | 737 | ; cgi.force_redirect is necessary to provide security running PHP as a CGI under 738 | ; most web servers. Left undefined, PHP turns this on by default. You can 739 | ; turn it off here AT YOUR OWN RISK 740 | ; **You CAN safely turn this off for IIS, in fact, you MUST.** 741 | ; http://php.net/cgi.force-redirect 742 | ;cgi.force_redirect = 1 743 | 744 | ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with 745 | ; every request. PHP's default behavior is to disable this feature. 746 | ;cgi.nph = 1 747 | 748 | ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape 749 | ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP 750 | ; will look for to know it is OK to continue execution. Setting this variable MAY 751 | ; cause security issues, KNOW WHAT YOU ARE DOING FIRST. 752 | ; http://php.net/cgi.redirect-status-env 753 | ;cgi.redirect_status_env = 754 | 755 | ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI. PHP's 756 | ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok 757 | ; what PATH_INFO is. For more information on PATH_INFO, see the cgi specs. Setting 758 | ; this to 1 will cause PHP CGI to fix its paths to conform to the spec. A setting 759 | ; of zero causes PHP to behave as before. Default is 1. You should fix your scripts 760 | ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED. 761 | ; http://php.net/cgi.fix-pathinfo 762 | ;cgi.fix_pathinfo=1 763 | 764 | ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate 765 | ; security tokens of the calling client. This allows IIS to define the 766 | ; security context that the request runs under. mod_fastcgi under Apache 767 | ; does not currently support this feature (03/17/2002) 768 | ; Set to 1 if running under IIS. Default is zero. 769 | ; http://php.net/fastcgi.impersonate 770 | ;fastcgi.impersonate = 1 771 | 772 | ; Disable logging through FastCGI connection. PHP's default behavior is to enable 773 | ; this feature. 774 | ;fastcgi.logging = 0 775 | 776 | ; cgi.rfc2616_headers configuration option tells PHP what type of headers to 777 | ; use when sending HTTP response code. If set to 0, PHP sends Status: header that 778 | ; is supported by Apache. When this option is set to 1, PHP will send 779 | ; RFC2616 compliant header. 780 | ; Default is zero. 781 | ; http://php.net/cgi.rfc2616-headers 782 | ;cgi.rfc2616_headers = 0 783 | 784 | ;;;;;;;;;;;;;;;; 785 | ; File Uploads ; 786 | ;;;;;;;;;;;;;;;; 787 | 788 | ; Whether to allow HTTP file uploads. 789 | ; http://php.net/file-uploads 790 | file_uploads = On 791 | 792 | ; Temporary directory for HTTP uploaded files (will use system default if not 793 | ; specified). 794 | ; http://php.net/upload-tmp-dir 795 | ;upload_tmp_dir = 796 | 797 | ; Maximum allowed size for uploaded files. 798 | ; http://php.net/upload-max-filesize 799 | upload_max_filesize = 2M 800 | 801 | ; Maximum number of files that can be uploaded via a single request 802 | max_file_uploads = 20 803 | 804 | ;;;;;;;;;;;;;;;;;; 805 | ; Fopen wrappers ; 806 | ;;;;;;;;;;;;;;;;;; 807 | 808 | ; Whether to allow the treatment of URLs (like http:// or ftp://) as files. 809 | ; http://php.net/allow-url-fopen 810 | allow_url_fopen = On 811 | 812 | ; Whether to allow include/require to open URLs (like http:// or ftp://) as files. 813 | ; http://php.net/allow-url-include 814 | allow_url_include = Off 815 | 816 | ; Define the anonymous ftp password (your email address). PHP's default setting 817 | ; for this is empty. 818 | ; http://php.net/from 819 | ;from="john@doe.com" 820 | 821 | ; Define the User-Agent string. PHP's default setting for this is empty. 822 | ; http://php.net/user-agent 823 | ;user_agent="PHP" 824 | 825 | ; Default timeout for socket based streams (seconds) 826 | ; http://php.net/default-socket-timeout 827 | default_socket_timeout = 60 828 | 829 | ; If your scripts have to deal with files from Macintosh systems, 830 | ; or you are running on a Mac and need to deal with files from 831 | ; unix or win32 systems, setting this flag will cause PHP to 832 | ; automatically detect the EOL character in those files so that 833 | ; fgets() and file() will work regardless of the source of the file. 834 | ; http://php.net/auto-detect-line-endings 835 | ;auto_detect_line_endings = Off 836 | 837 | ;;;;;;;;;;;;;;;;;;;;;; 838 | ; Dynamic Extensions ; 839 | ;;;;;;;;;;;;;;;;;;;;;; 840 | 841 | ; If you wish to have an extension loaded automatically, use the following 842 | ; syntax: 843 | ; 844 | ; extension=modulename.extension 845 | ; 846 | ; For example, on Windows: 847 | ; 848 | ; extension=msql.dll 849 | ; 850 | ; ... or under UNIX: 851 | ; 852 | ; extension=msql.so 853 | ; 854 | ; ... or with a path: 855 | ; 856 | ; extension=/path/to/extension/msql.so 857 | ; 858 | ; If you only provide the name of the extension, PHP will look for it in its 859 | ; default extension directory. 860 | 861 | ;;;; 862 | ; Note: packaged extension modules are now loaded via the .ini files 863 | ; found in the directory /etc/php.d; these are loaded by default. 864 | ;;;; 865 | 866 | ;;;;;;;;;;;;;;;;;;; 867 | ; Module Settings ; 868 | ;;;;;;;;;;;;;;;;;;; 869 | 870 | [CLI Server] 871 | ; Whether the CLI web server uses ANSI color coding in its terminal output. 872 | cli_server.color = On 873 | 874 | [Date] 875 | ; Defines the default timezone used by the date functions 876 | ; http://php.net/date.timezone 877 | ;date.timezone = 878 | 879 | ; http://php.net/date.default-latitude 880 | ;date.default_latitude = 31.7667 881 | 882 | ; http://php.net/date.default-longitude 883 | ;date.default_longitude = 35.2333 884 | 885 | ; http://php.net/date.sunrise-zenith 886 | ;date.sunrise_zenith = 90.583333 887 | 888 | ; http://php.net/date.sunset-zenith 889 | ;date.sunset_zenith = 90.583333 890 | 891 | [filter] 892 | ; http://php.net/filter.default 893 | ;filter.default = unsafe_raw 894 | 895 | ; http://php.net/filter.default-flags 896 | ;filter.default_flags = 897 | 898 | [iconv] 899 | ; Use of this INI entry is deprecated, use global input_encoding instead. 900 | ; If empty, default_charset or input_encoding or iconv.input_encoding is used. 901 | ; The precedence is: default_charset < intput_encoding < iconv.input_encoding 902 | ;iconv.input_encoding = 903 | 904 | ; Use of this INI entry is deprecated, use global internal_encoding instead. 905 | ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used. 906 | ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding 907 | ;iconv.internal_encoding = 908 | 909 | ; Use of this INI entry is deprecated, use global output_encoding instead. 910 | ; If empty, default_charset or output_encoding or iconv.output_encoding is used. 911 | ; The precedence is: default_charset < output_encoding < iconv.output_encoding 912 | ; To use an output encoding conversion, iconv's output handler must be set 913 | ; otherwise output encoding conversion cannot be performed. 914 | ;iconv.output_encoding = 915 | 916 | [intl] 917 | ;intl.default_locale = 918 | ; This directive allows you to produce PHP errors when some error 919 | ; happens within intl functions. The value is the level of the error produced. 920 | ; Default is 0, which does not produce any errors. 921 | ;intl.error_level = E_WARNING 922 | 923 | [sqlite] 924 | ; http://php.net/sqlite.assoc-case 925 | ;sqlite.assoc_case = 0 926 | 927 | [sqlite3] 928 | ;sqlite3.extension_dir = 929 | 930 | [Pcre] 931 | ;PCRE library backtracking limit. 932 | ; http://php.net/pcre.backtrack-limit 933 | ;pcre.backtrack_limit=100000 934 | 935 | ;PCRE library recursion limit. 936 | ;Please note that if you set this value to a high number you may consume all 937 | ;the available process stack and eventually crash PHP (due to reaching the 938 | ;stack size limit imposed by the Operating System). 939 | ; http://php.net/pcre.recursion-limit 940 | ;pcre.recursion_limit=100000 941 | 942 | ;Enables or disables JIT compilation of patterns. This requires the PCRE 943 | ;library to be compiled with JIT support. 944 | pcre.jit=0 945 | 946 | [Pdo] 947 | ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off" 948 | ; http://php.net/pdo-odbc.connection-pooling 949 | ;pdo_odbc.connection_pooling=strict 950 | 951 | ;pdo_odbc.db2_instance_name 952 | 953 | [Pdo_mysql] 954 | ; If mysqlnd is used: Number of cache slots for the internal result set cache 955 | ; http://php.net/pdo_mysql.cache_size 956 | pdo_mysql.cache_size = 2000 957 | 958 | ; Default socket name for local MySQL connects. If empty, uses the built-in 959 | ; MySQL defaults. 960 | ; http://php.net/pdo_mysql.default-socket 961 | pdo_mysql.default_socket= 962 | 963 | [Phar] 964 | ; http://php.net/phar.readonly 965 | ;phar.readonly = On 966 | 967 | ; http://php.net/phar.require-hash 968 | ;phar.require_hash = On 969 | 970 | ;phar.cache_list = 971 | 972 | [mail function] 973 | ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). 974 | ; http://php.net/sendmail-path 975 | sendmail_path = /usr/sbin/sendmail -t -i 976 | 977 | ; Force the addition of the specified parameters to be passed as extra parameters 978 | ; to the sendmail binary. These parameters will always replace the value of 979 | ; the 5th parameter to mail(). 980 | ;mail.force_extra_parameters = 981 | 982 | ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename 983 | mail.add_x_header = On 984 | 985 | ; The path to a log file that will log all mail() calls. Log entries include 986 | ; the full path of the script, line number, To address and headers. 987 | ;mail.log = 988 | ; Log mail to syslog; 989 | ;mail.log = syslog 990 | 991 | [SQL] 992 | ; http://php.net/sql.safe-mode 993 | sql.safe_mode = Off 994 | 995 | [ODBC] 996 | ; http://php.net/odbc.default-db 997 | ;odbc.default_db = Not yet implemented 998 | 999 | ; http://php.net/odbc.default-user 1000 | ;odbc.default_user = Not yet implemented 1001 | 1002 | ; http://php.net/odbc.default-pw 1003 | ;odbc.default_pw = Not yet implemented 1004 | 1005 | ; Controls the ODBC cursor model. 1006 | ; Default: SQL_CURSOR_STATIC (default). 1007 | ;odbc.default_cursortype 1008 | 1009 | ; Allow or prevent persistent links. 1010 | ; http://php.net/odbc.allow-persistent 1011 | odbc.allow_persistent = On 1012 | 1013 | ; Check that a connection is still valid before reuse. 1014 | ; http://php.net/odbc.check-persistent 1015 | odbc.check_persistent = On 1016 | 1017 | ; Maximum number of persistent links. -1 means no limit. 1018 | ; http://php.net/odbc.max-persistent 1019 | odbc.max_persistent = -1 1020 | 1021 | ; Maximum number of links (persistent + non-persistent). -1 means no limit. 1022 | ; http://php.net/odbc.max-links 1023 | odbc.max_links = -1 1024 | 1025 | ; Handling of LONG fields. Returns number of bytes to variables. 0 means 1026 | ; passthru. 1027 | ; http://php.net/odbc.defaultlrl 1028 | odbc.defaultlrl = 4096 1029 | 1030 | ; Handling of binary data. 0 means passthru, 1 return as is, 2 convert to char. 1031 | ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation 1032 | ; of odbc.defaultlrl and odbc.defaultbinmode 1033 | ; http://php.net/odbc.defaultbinmode 1034 | odbc.defaultbinmode = 1 1035 | 1036 | ;birdstep.max_links = -1 1037 | 1038 | [Interbase] 1039 | ; Allow or prevent persistent links. 1040 | ibase.allow_persistent = 1 1041 | 1042 | ; Maximum number of persistent links. -1 means no limit. 1043 | ibase.max_persistent = -1 1044 | 1045 | ; Maximum number of links (persistent + non-persistent). -1 means no limit. 1046 | ibase.max_links = -1 1047 | 1048 | ; Default database name for ibase_connect(). 1049 | ;ibase.default_db = 1050 | 1051 | ; Default username for ibase_connect(). 1052 | ;ibase.default_user = 1053 | 1054 | ; Default password for ibase_connect(). 1055 | ;ibase.default_password = 1056 | 1057 | ; Default charset for ibase_connect(). 1058 | ;ibase.default_charset = 1059 | 1060 | ; Default timestamp format. 1061 | ibase.timestampformat = "%Y-%m-%d %H:%M:%S" 1062 | 1063 | ; Default date format. 1064 | ibase.dateformat = "%Y-%m-%d" 1065 | 1066 | ; Default time format. 1067 | ibase.timeformat = "%H:%M:%S" 1068 | 1069 | [MySQLi] 1070 | 1071 | ; Maximum number of persistent links. -1 means no limit. 1072 | ; http://php.net/mysqli.max-persistent 1073 | mysqli.max_persistent = -1 1074 | 1075 | ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements 1076 | ; http://php.net/mysqli.allow_local_infile 1077 | ;mysqli.allow_local_infile = On 1078 | 1079 | ; Allow or prevent persistent links. 1080 | ; http://php.net/mysqli.allow-persistent 1081 | mysqli.allow_persistent = On 1082 | 1083 | ; Maximum number of links. -1 means no limit. 1084 | ; http://php.net/mysqli.max-links 1085 | mysqli.max_links = -1 1086 | 1087 | ; If mysqlnd is used: Number of cache slots for the internal result set cache 1088 | ; http://php.net/mysqli.cache_size 1089 | mysqli.cache_size = 2000 1090 | 1091 | ; Default port number for mysqli_connect(). If unset, mysqli_connect() will use 1092 | ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the 1093 | ; compile-time value defined MYSQL_PORT (in that order). Win32 will only look 1094 | ; at MYSQL_PORT. 1095 | ; http://php.net/mysqli.default-port 1096 | mysqli.default_port = 3306 1097 | 1098 | ; Default socket name for local MySQL connects. If empty, uses the built-in 1099 | ; MySQL defaults. 1100 | ; http://php.net/mysqli.default-socket 1101 | mysqli.default_socket = 1102 | 1103 | ; Default host for mysql_connect() (doesn't apply in safe mode). 1104 | ; http://php.net/mysqli.default-host 1105 | mysqli.default_host = 1106 | 1107 | ; Default user for mysql_connect() (doesn't apply in safe mode). 1108 | ; http://php.net/mysqli.default-user 1109 | mysqli.default_user = 1110 | 1111 | ; Default password for mysqli_connect() (doesn't apply in safe mode). 1112 | ; Note that this is generally a *bad* idea to store passwords in this file. 1113 | ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw") 1114 | ; and reveal this password! And of course, any users with read access to this 1115 | ; file will be able to reveal the password as well. 1116 | ; http://php.net/mysqli.default-pw 1117 | mysqli.default_pw = 1118 | 1119 | ; Allow or prevent reconnect 1120 | mysqli.reconnect = Off 1121 | 1122 | [mysqlnd] 1123 | ; Enable / Disable collection of general statistics by mysqlnd which can be 1124 | ; used to tune and monitor MySQL operations. 1125 | ; http://php.net/mysqlnd.collect_statistics 1126 | mysqlnd.collect_statistics = On 1127 | 1128 | ; Enable / Disable collection of memory usage statistics by mysqlnd which can be 1129 | ; used to tune and monitor MySQL operations. 1130 | ; http://php.net/mysqlnd.collect_memory_statistics 1131 | mysqlnd.collect_memory_statistics = Off 1132 | 1133 | ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes. 1134 | ; http://php.net/mysqlnd.net_cmd_buffer_size 1135 | ;mysqlnd.net_cmd_buffer_size = 2048 1136 | 1137 | ; Size of a pre-allocated buffer used for reading data sent by the server in 1138 | ; bytes. 1139 | ; http://php.net/mysqlnd.net_read_buffer_size 1140 | ;mysqlnd.net_read_buffer_size = 32768 1141 | 1142 | [PostgreSQL] 1143 | ; Allow or prevent persistent links. 1144 | ; http://php.net/pgsql.allow-persistent 1145 | pgsql.allow_persistent = On 1146 | 1147 | ; Detect broken persistent links always with pg_pconnect(). 1148 | ; Auto reset feature requires a little overheads. 1149 | ; http://php.net/pgsql.auto-reset-persistent 1150 | pgsql.auto_reset_persistent = Off 1151 | 1152 | ; Maximum number of persistent links. -1 means no limit. 1153 | ; http://php.net/pgsql.max-persistent 1154 | pgsql.max_persistent = -1 1155 | 1156 | ; Maximum number of links (persistent+non persistent). -1 means no limit. 1157 | ; http://php.net/pgsql.max-links 1158 | pgsql.max_links = -1 1159 | 1160 | ; Ignore PostgreSQL backends Notice message or not. 1161 | ; Notice message logging require a little overheads. 1162 | ; http://php.net/pgsql.ignore-notice 1163 | pgsql.ignore_notice = 0 1164 | 1165 | ; Log PostgreSQL backends Notice message or not. 1166 | ; Unless pgsql.ignore_notice=0, module cannot log notice message. 1167 | ; http://php.net/pgsql.log-notice 1168 | pgsql.log_notice = 0 1169 | 1170 | [bcmath] 1171 | ; Number of decimal digits for all bcmath functions. 1172 | ; http://php.net/bcmath.scale 1173 | bcmath.scale = 0 1174 | 1175 | [browscap] 1176 | ; http://php.net/browscap 1177 | ;browscap = extra/browscap.ini 1178 | 1179 | [Session] 1180 | ; Handler used to store/retrieve data. 1181 | ; http://php.net/session.save-handler 1182 | session.save_handler = files 1183 | 1184 | ; Argument passed to save_handler. In the case of files, this is the path 1185 | ; where data files are stored. Note: Windows users have to change this 1186 | ; variable in order to use PHP's session functions. 1187 | ; 1188 | ; The path can be defined as: 1189 | ; 1190 | ; session.save_path = "N;/path" 1191 | ; 1192 | ; where N is an integer. Instead of storing all the session files in 1193 | ; /path, what this will do is use subdirectories N-levels deep, and 1194 | ; store the session data in those directories. This is useful if 1195 | ; your OS has problems with many files in one directory, and is 1196 | ; a more efficient layout for servers that handle many sessions. 1197 | ; 1198 | ; NOTE 1: PHP will not create this directory structure automatically. 1199 | ; You can use the script in the ext/session dir for that purpose. 1200 | ; NOTE 2: See the section on garbage collection below if you choose to 1201 | ; use subdirectories for session storage 1202 | ; 1203 | ; The file storage module creates files using mode 600 by default. 1204 | ; You can change that by using 1205 | ; 1206 | ; session.save_path = "N;MODE;/path" 1207 | ; 1208 | ; where MODE is the octal representation of the mode. Note that this 1209 | ; does not overwrite the process's umask. 1210 | ; http://php.net/session.save-path 1211 | 1212 | ; RPM note : session directory must be owned by process owner 1213 | ; for mod_php, see /etc/httpd/conf.d/php.conf 1214 | ; for php-fpm, see /etc/php-fpm.d/*conf 1215 | ;session.save_path = "/tmp" 1216 | 1217 | ; Whether to use strict session mode. 1218 | ; Strict session mode does not accept uninitialized session ID and regenerate 1219 | ; session ID if browser sends uninitialized session ID. Strict mode protects 1220 | ; applications from session fixation via session adoption vulnerability. It is 1221 | ; disabled by default for maximum compatibility, but enabling it is encouraged. 1222 | ; https://wiki.php.net/rfc/strict_sessions 1223 | session.use_strict_mode = 0 1224 | 1225 | ; Whether to use cookies. 1226 | ; http://php.net/session.use-cookies 1227 | session.use_cookies = 1 1228 | 1229 | ; http://php.net/session.cookie-secure 1230 | ;session.cookie_secure = 1231 | 1232 | ; This option forces PHP to fetch and use a cookie for storing and maintaining 1233 | ; the session id. We encourage this operation as it's very helpful in combating 1234 | ; session hijacking when not specifying and managing your own session id. It is 1235 | ; not the be-all and end-all of session hijacking defense, but it's a good start. 1236 | ; http://php.net/session.use-only-cookies 1237 | session.use_only_cookies = 1 1238 | 1239 | ; Name of the session (used as cookie name). 1240 | ; http://php.net/session.name 1241 | session.name = PHPSESSID 1242 | 1243 | ; Initialize session on request startup. 1244 | ; http://php.net/session.auto-start 1245 | session.auto_start = 0 1246 | 1247 | ; Lifetime in seconds of cookie or, if 0, until browser is restarted. 1248 | ; http://php.net/session.cookie-lifetime 1249 | session.cookie_lifetime = 0 1250 | 1251 | ; The path for which the cookie is valid. 1252 | ; http://php.net/session.cookie-path 1253 | session.cookie_path = / 1254 | 1255 | ; The domain for which the cookie is valid. 1256 | ; http://php.net/session.cookie-domain 1257 | session.cookie_domain = 1258 | 1259 | ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript. 1260 | ; http://php.net/session.cookie-httponly 1261 | session.cookie_httponly = 1262 | 1263 | ; Handler used to serialize data. php is the standard serializer of PHP. 1264 | ; http://php.net/session.serialize-handler 1265 | session.serialize_handler = php 1266 | 1267 | ; Defines the probability that the 'garbage collection' process is started 1268 | ; on every session initialization. The probability is calculated by using 1269 | ; gc_probability/gc_divisor. Where session.gc_probability is the numerator 1270 | ; and gc_divisor is the denominator in the equation. Setting this value to 1 1271 | ; when the session.gc_divisor value is 100 will give you approximately a 1% chance 1272 | ; the gc will run on any give request. 1273 | ; Default Value: 1 1274 | ; Development Value: 1 1275 | ; Production Value: 1 1276 | ; http://php.net/session.gc-probability 1277 | session.gc_probability = 1 1278 | 1279 | ; Defines the probability that the 'garbage collection' process is started on every 1280 | ; session initialization. The probability is calculated by using the following equation: 1281 | ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and 1282 | ; session.gc_divisor is the denominator in the equation. Setting this value to 1 1283 | ; when the session.gc_divisor value is 100 will give you approximately a 1% chance 1284 | ; the gc will run on any give request. Increasing this value to 1000 will give you 1285 | ; a 0.1% chance the gc will run on any give request. For high volume production servers, 1286 | ; this is a more efficient approach. 1287 | ; Default Value: 100 1288 | ; Development Value: 1000 1289 | ; Production Value: 1000 1290 | ; http://php.net/session.gc-divisor 1291 | session.gc_divisor = 1000 1292 | 1293 | ; After this number of seconds, stored data will be seen as 'garbage' and 1294 | ; cleaned up by the garbage collection process. 1295 | ; http://php.net/session.gc-maxlifetime 1296 | session.gc_maxlifetime = 1440 1297 | 1298 | ; NOTE: If you are using the subdirectory option for storing session files 1299 | ; (see session.save_path above), then garbage collection does *not* 1300 | ; happen automatically. You will need to do your own garbage 1301 | ; collection through a shell script, cron entry, or some other method. 1302 | ; For example, the following script would is the equivalent of 1303 | ; setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes): 1304 | ; find /path/to/sessions -cmin +24 -type f | xargs rm 1305 | 1306 | ; Check HTTP Referer to invalidate externally stored URLs containing ids. 1307 | ; HTTP_REFERER has to contain this substring for the session to be 1308 | ; considered as valid. 1309 | ; http://php.net/session.referer-check 1310 | session.referer_check = 1311 | 1312 | ; How many bytes to read from the file. 1313 | ; http://php.net/session.entropy-length 1314 | ;session.entropy_length = 32 1315 | 1316 | ; Specified here to create the session id. 1317 | ; http://php.net/session.entropy-file 1318 | ; Defaults to /dev/urandom 1319 | ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom 1320 | ; If neither are found at compile time, the default is no entropy file. 1321 | ; On windows, setting the entropy_length setting will activate the 1322 | ; Windows random source (using the CryptoAPI) 1323 | ;session.entropy_file = /dev/urandom 1324 | 1325 | ; Set to {nocache,private,public,} to determine HTTP caching aspects 1326 | ; or leave this empty to avoid sending anti-caching headers. 1327 | ; http://php.net/session.cache-limiter 1328 | session.cache_limiter = nocache 1329 | 1330 | ; Document expires after n minutes. 1331 | ; http://php.net/session.cache-expire 1332 | session.cache_expire = 180 1333 | 1334 | ; trans sid support is disabled by default. 1335 | ; Use of trans sid may risk your users' security. 1336 | ; Use this option with caution. 1337 | ; - User may send URL contains active session ID 1338 | ; to other person via. email/irc/etc. 1339 | ; - URL that contains active session ID may be stored 1340 | ; in publicly accessible computer. 1341 | ; - User may access your site with the same session ID 1342 | ; always using URL stored in browser's history or bookmarks. 1343 | ; http://php.net/session.use-trans-sid 1344 | session.use_trans_sid = 0 1345 | 1346 | ; Select a hash function for use in generating session ids. 1347 | ; Possible Values 1348 | ; 0 (MD5 128 bits) 1349 | ; 1 (SHA-1 160 bits) 1350 | ; This option may also be set to the name of any hash function supported by 1351 | ; the hash extension. A list of available hashes is returned by the hash_algos() 1352 | ; function. 1353 | ; http://php.net/session.hash-function 1354 | session.hash_function = 0 1355 | 1356 | ; Define how many bits are stored in each character when converting 1357 | ; the binary hash data to something readable. 1358 | ; Possible values: 1359 | ; 4 (4 bits: 0-9, a-f) 1360 | ; 5 (5 bits: 0-9, a-v) 1361 | ; 6 (6 bits: 0-9, a-z, A-Z, "-", ",") 1362 | ; Default Value: 4 1363 | ; Development Value: 5 1364 | ; Production Value: 5 1365 | ; http://php.net/session.hash-bits-per-character 1366 | session.hash_bits_per_character = 5 1367 | 1368 | ; The URL rewriter will look for URLs in a defined set of HTML tags. 1369 | ; form/fieldset are special; if you include them here, the rewriter will 1370 | ; add a hidden field with the info which is otherwise appended 1371 | ; to URLs. If you want XHTML conformity, remove the form entry. 1372 | ; Note that all valid entries require a "=", even if no value follows. 1373 | ; Default Value: "a=href,area=href,frame=src,form=,fieldset=" 1374 | ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry" 1375 | ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry" 1376 | ; http://php.net/url-rewriter.tags 1377 | url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry" 1378 | 1379 | ; Enable upload progress tracking in $_SESSION 1380 | ; Default Value: On 1381 | ; Development Value: On 1382 | ; Production Value: On 1383 | ; http://php.net/session.upload-progress.enabled 1384 | ;session.upload_progress.enabled = On 1385 | 1386 | ; Cleanup the progress information as soon as all POST data has been read 1387 | ; (i.e. upload completed). 1388 | ; Default Value: On 1389 | ; Development Value: On 1390 | ; Production Value: On 1391 | ; http://php.net/session.upload-progress.cleanup 1392 | ;session.upload_progress.cleanup = On 1393 | 1394 | ; A prefix used for the upload progress key in $_SESSION 1395 | ; Default Value: "upload_progress_" 1396 | ; Development Value: "upload_progress_" 1397 | ; Production Value: "upload_progress_" 1398 | ; http://php.net/session.upload-progress.prefix 1399 | ;session.upload_progress.prefix = "upload_progress_" 1400 | 1401 | ; The index name (concatenated with the prefix) in $_SESSION 1402 | ; containing the upload progress information 1403 | ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS" 1404 | ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS" 1405 | ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS" 1406 | ; http://php.net/session.upload-progress.name 1407 | ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS" 1408 | 1409 | ; How frequently the upload progress should be updated. 1410 | ; Given either in percentages (per-file), or in bytes 1411 | ; Default Value: "1%" 1412 | ; Development Value: "1%" 1413 | ; Production Value: "1%" 1414 | ; http://php.net/session.upload-progress.freq 1415 | ;session.upload_progress.freq = "1%" 1416 | 1417 | ; The minimum delay between updates, in seconds 1418 | ; Default Value: 1 1419 | ; Development Value: 1 1420 | ; Production Value: 1 1421 | ; http://php.net/session.upload-progress.min-freq 1422 | ;session.upload_progress.min_freq = "1" 1423 | 1424 | [Assertion] 1425 | ; Switch whether to compile assertions at all (to have no overhead at run-time) 1426 | ; -1: Do not compile at all 1427 | ; 0: Jump over assertion at run-time 1428 | ; 1: Execute assertions 1429 | ; Changing from or to a negative value is only possible in php.ini! (For turning assertions on and off at run-time, see assert.active, when zend.assertions = 1) 1430 | ; Default Value: 1 1431 | ; Development Value: 1 1432 | ; Production Value: -1 1433 | ; http://php.net/zend.assertions 1434 | zend.assertions = -1 1435 | 1436 | ; Assert(expr); active by default. 1437 | ; http://php.net/assert.active 1438 | ;assert.active = On 1439 | 1440 | ; Throw an AssertationException on failed assertions 1441 | ; http://php.net/assert.exception 1442 | ;assert.exception = On 1443 | 1444 | ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active) 1445 | ; http://php.net/assert.warning 1446 | ;assert.warning = On 1447 | 1448 | ; Don't bail out by default. 1449 | ; http://php.net/assert.bail 1450 | ;assert.bail = Off 1451 | 1452 | ; User-function to be called if an assertion fails. 1453 | ; http://php.net/assert.callback 1454 | ;assert.callback = 0 1455 | 1456 | ; Eval the expression with current error_reporting(). Set to true if you want 1457 | ; error_reporting(0) around the eval(). 1458 | ; http://php.net/assert.quiet-eval 1459 | ;assert.quiet_eval = 0 1460 | 1461 | [mbstring] 1462 | ; language for internal character representation. 1463 | ; This affects mb_send_mail() and mbstring.detect_order. 1464 | ; http://php.net/mbstring.language 1465 | ;mbstring.language = Japanese 1466 | 1467 | ; Use of this INI entry is deprecated, use global internal_encoding instead. 1468 | ; internal/script encoding. 1469 | ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*) 1470 | ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used. 1471 | ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding 1472 | ;mbstring.internal_encoding = 1473 | 1474 | ; Use of this INI entry is deprecated, use global input_encoding instead. 1475 | ; http input encoding. 1476 | ; mbstring.encoding_traslation = On is needed to use this setting. 1477 | ; If empty, default_charset or input_encoding or mbstring.input is used. 1478 | ; The precedence is: default_charset < intput_encoding < mbsting.http_input 1479 | ; http://php.net/mbstring.http-input 1480 | ;mbstring.http_input = 1481 | 1482 | ; Use of this INI entry is deprecated, use global output_encoding instead. 1483 | ; http output encoding. 1484 | ; mb_output_handler must be registered as output buffer to function. 1485 | ; If empty, default_charset or output_encoding or mbstring.http_output is used. 1486 | ; The precedence is: default_charset < output_encoding < mbstring.http_output 1487 | ; To use an output encoding conversion, mbstring's output handler must be set 1488 | ; otherwise output encoding conversion cannot be performed. 1489 | ; http://php.net/mbstring.http-output 1490 | ;mbstring.http_output = 1491 | 1492 | ; enable automatic encoding translation according to 1493 | ; mbstring.internal_encoding setting. Input chars are 1494 | ; converted to internal encoding by setting this to On. 1495 | ; Note: Do _not_ use automatic encoding translation for 1496 | ; portable libs/applications. 1497 | ; http://php.net/mbstring.encoding-translation 1498 | ;mbstring.encoding_translation = Off 1499 | 1500 | ; automatic encoding detection order. 1501 | ; "auto" detect order is changed according to mbstring.language 1502 | ; http://php.net/mbstring.detect-order 1503 | ;mbstring.detect_order = auto 1504 | 1505 | ; substitute_character used when character cannot be converted 1506 | ; one from another 1507 | ; http://php.net/mbstring.substitute-character 1508 | ;mbstring.substitute_character = none 1509 | 1510 | ; overload(replace) single byte functions by mbstring functions. 1511 | ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(), 1512 | ; etc. Possible values are 0,1,2,4 or combination of them. 1513 | ; For example, 7 for overload everything. 1514 | ; 0: No overload 1515 | ; 1: Overload mail() function 1516 | ; 2: Overload str*() functions 1517 | ; 4: Overload ereg*() functions 1518 | ; http://php.net/mbstring.func-overload 1519 | ;mbstring.func_overload = 0 1520 | 1521 | ; enable strict encoding detection. 1522 | ; Default: Off 1523 | ;mbstring.strict_detection = On 1524 | 1525 | ; This directive specifies the regex pattern of content types for which mb_output_handler() 1526 | ; is activated. 1527 | ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml) 1528 | ;mbstring.http_output_conv_mimetype= 1529 | 1530 | [gd] 1531 | ; Tell the jpeg decode to ignore warnings and try to create 1532 | ; a gd image. The warning will then be displayed as notices 1533 | ; disabled by default 1534 | ; http://php.net/gd.jpeg-ignore-warning 1535 | ;gd.jpeg_ignore_warning = 0 1536 | 1537 | [exif] 1538 | ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS. 1539 | ; With mbstring support this will automatically be converted into the encoding 1540 | ; given by corresponding encode setting. When empty mbstring.internal_encoding 1541 | ; is used. For the decode settings you can distinguish between motorola and 1542 | ; intel byte order. A decode setting cannot be empty. 1543 | ; http://php.net/exif.encode-unicode 1544 | ;exif.encode_unicode = ISO-8859-15 1545 | 1546 | ; http://php.net/exif.decode-unicode-motorola 1547 | ;exif.decode_unicode_motorola = UCS-2BE 1548 | 1549 | ; http://php.net/exif.decode-unicode-intel 1550 | ;exif.decode_unicode_intel = UCS-2LE 1551 | 1552 | ; http://php.net/exif.encode-jis 1553 | ;exif.encode_jis = 1554 | 1555 | ; http://php.net/exif.decode-jis-motorola 1556 | ;exif.decode_jis_motorola = JIS 1557 | 1558 | ; http://php.net/exif.decode-jis-intel 1559 | ;exif.decode_jis_intel = JIS 1560 | 1561 | [Tidy] 1562 | ; The path to a default tidy configuration file to use when using tidy 1563 | ; http://php.net/tidy.default-config 1564 | ;tidy.default_config = /usr/local/lib/php/default.tcfg 1565 | 1566 | ; Should tidy clean and repair output automatically? 1567 | ; WARNING: Do not use this option if you are generating non-html content 1568 | ; such as dynamic images 1569 | ; http://php.net/tidy.clean-output 1570 | tidy.clean_output = Off 1571 | 1572 | [soap] 1573 | ; Enables or disables WSDL caching feature. 1574 | ; http://php.net/soap.wsdl-cache-enabled 1575 | soap.wsdl_cache_enabled=1 1576 | 1577 | ; Sets the directory name where SOAP extension will put cache files. 1578 | ; http://php.net/soap.wsdl-cache-dir 1579 | 1580 | ; RPM note : cache directory must be owned by process owner 1581 | ; for mod_php, see /etc/httpd/conf.d/php.conf 1582 | ; for php-fpm, see /etc/php-fpm.d/*conf 1583 | soap.wsdl_cache_dir="/tmp" 1584 | 1585 | ; (time to live) Sets the number of second while cached file will be used 1586 | ; instead of original one. 1587 | ; http://php.net/soap.wsdl-cache-ttl 1588 | soap.wsdl_cache_ttl=86400 1589 | 1590 | ; Sets the size of the cache limit. (Max. number of WSDL files to cache) 1591 | soap.wsdl_cache_limit = 5 1592 | 1593 | [sysvshm] 1594 | ; A default size of the shared memory segment 1595 | ;sysvshm.init_mem = 10000 1596 | 1597 | [ldap] 1598 | ; Sets the maximum number of open links or -1 for unlimited. 1599 | ldap.max_links = -1 1600 | 1601 | [mcrypt] 1602 | ; For more information about mcrypt settings see http://php.net/mcrypt-module-open 1603 | 1604 | ; Directory where to load mcrypt algorithms 1605 | ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt) 1606 | ;mcrypt.algorithms_dir= 1607 | 1608 | ; Directory where to load mcrypt modes 1609 | ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt) 1610 | ;mcrypt.modes_dir= 1611 | 1612 | [dba] 1613 | ;dba.default_handler= 1614 | 1615 | [curl] 1616 | ; A default value for the CURLOPT_CAINFO option. This is required to be an 1617 | ; absolute path. 1618 | ;curl.cainfo = 1619 | 1620 | [openssl] 1621 | ; The location of a Certificate Authority (CA) file on the local filesystem 1622 | ; to use when verifying the identity of SSL/TLS peers. Most users should 1623 | ; not specify a value for this directive as PHP will attempt to use the 1624 | ; OS-managed cert stores in its absence. If specified, this value may still 1625 | ; be overridden on a per-stream basis via the "cafile" SSL stream context 1626 | ; option. 1627 | ;openssl.cafile= 1628 | 1629 | ; If openssl.cafile is not specified or if the CA file is not found, the 1630 | ; directory pointed to by openssl.capath is searched for a suitable 1631 | ; certificate. This value must be a correctly hashed certificate directory. 1632 | ; Most users should not specify a value for this directive as PHP will 1633 | ; attempt to use the OS-managed cert stores in its absence. If specified, 1634 | ; this value may still be overridden on a per-stream basis via the "capath" 1635 | ; SSL stream context option. 1636 | ;openssl.capath= 1637 | 1638 | ; Local Variables: 1639 | ; tab-width: 4 1640 | ; End: 1641 | --------------------------------------------------------------------------------