PHP

From WebarchDocs
Jump to: navigation, search

Information about the PHP versions and settings for the Webarchitects, Ecohost and Ecodissident Shared Hosting servers which all use Apache mod_php, see also HTAccess.

If any of the settings are causing problems with ours sites (for example you need to be able to upload bigger files) please get in touch to ask for changes.

If your site is hosted on a server with an older version of PHP and you would like it moved to a server with a newer version please get in touch.

To find out all the settings you can create a info.php files which contains:

<?php print phpinfo(); ?>

If you do this please remember to delete it after use or protect it with a password.

host3.webarch.net

The server has the latest Debian Jessie PHP5 (PHP 5.6.29 on 2017-01-05) and has the following key php.ini variables changed from the defaults:

disable_functions = pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,dl,exec,passthru,pcntl_exec,popen,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,show_source,symlink,system,system_exec
memory_limit = 256M
max_execution_time = 180
max_input_vars = 4720
post_max_size = 200M
always_populate_raw_post_data = -1
upload_max_filesize = 200M
allow_url_include = On
opcache.enable=1
opcache.memory_consumption=1024
opcache.max_accelerated_files=100000

The PHP packages installed:

dpkg --get-selections | grep php
dh-php5                                         install
libapache2-mod-php5                             install
php-console-table                               install
php-gettext                                     install
php-pear                                        install
php-tcpdf                                       install
php-xml-parser                                  install
php5                                            install
php5-cli                                        install
php5-common                                     install
php5-curl                                       install
php5-dev                                        install
php5-gd                                         install
php5-geoip                                      install
php5-imagick                                    install
php5-intl                                       install
php5-json                                       install
php5-mcrypt                                     install
php5-mysql                                      install
php5-readline                                   install
php5-xmlrpc                                     install
phpmyadmin                                      install
pkg-php-tools                                   install

host2.webarch.net

The server has the latest Debian Wheezy PHP5 (5.4.39 on 2015-04-20) and has the following key php.ini variables changed from the defaults:

disable_functions = dl,exec,passthru,pcntl_exec,popen,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,show_source,symlink,system,system_exec
memory_limit = 200M
register_long_arrays = Off
post_max_size = 200M
upload_max_filesize = 200M
max_file_uploads = 120

The PHP packages installed:

dpkg --get-selections | grep php
libapache2-mod-php5                             install
php-pear                                        install
php-wpcli                                       install
php-xml-parser                                  install
php5                                            install
php5-cli                                        install
php5-common                                     install
php5-curl                                       install
php5-dev                                        install
php5-gd                                         install
php5-intl                                       install
php5-mcrypt                                     install
php5-mysql                                      install
php5-xmlrpc                                     install
phpmyadmin                                      install

host1.webarch.net

The server has the latest Debian Squeeze LTS PHP5 (5.3.3-7 on 2015-04-20) and has the following key php.ini variables changed from the defaults:

disable_functions = "dl,exec,passthru,pcntl_exec,popen,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,show_source,symlink,syslog,system,system_exec"
memory_limit = 1G
post_max_size = 2.5G
upload_max_filesize = 2G
max_file_uploads = 200

The PHP packages installed:

dpkg --get-selections | grep php
libapache2-mod-php5                             install
php-pear                                        install
php-wikidiff2                                   install
php-xml-parser                                  install
php5                                            install
php5-cli                                        install
php5-common                                     install
php5-curl                                       install
php5-dev                                        install
php5-gd                                         install
php5-imap                                       install
php5-intl                                       install
php5-mcrypt                                     install
php5-mysql                                      install
php5-sqlite                                     install
php5-suhosin                                    install
php5-xmlrpc                                     install
phpmyadmin                                      install

hosting.webarch.net

The server has the latest Debian Squeeze LTS PHP5 (5.3.3-7 on 2015-04-20) and has the following key php.ini variables changed from the defaults:

memory_limit = 256M
post_max_size = 100M
upload_max_filesize = 50M
max_file_uploads = 100
dpkg --get-selections | grep php
libapache2-mod-php5                             install
php-auth-sasl                                   install
php-mail                                        install
php-mail-mime                                   install
php-mail-mimedecode                             install
php-net-smtp                                    install
php-net-socket                                  install
php-pear                                        install
php5                                            install
php5-cgi                                        install
php5-cli                                        install
php5-common                                     install
php5-curl                                       install
php5-gd                                         install
php5-imap                                       install
php5-mcrypt                                     install
php5-mysql                                      install
php5-suhosin                                    install
phpmyadmin                                      install


host-b.ecodis.net

The server has the latest Debian Jessie PHP5 (PHP 5.6.17 on 2016-03-27) and has the following key php.ini variables changed from the defaults:

short_open_tag = On
disable_functions = pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,dl,exec,passthru,pcntl_exec,popen,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,show_source,symlink,system,system_exec
memory_limit = 256M
post_max_size = 200M
always_populate_raw_post_data = -1
upload_max_filesize = 200M
allow_url_fopen = Off
opcache.enable=1
opcache.memory_consumption=256
opcache.max_accelerated_files=100000

The PHP packages installed:

dpkg --get-selections | grep php
dh-php5                                         install
libapache2-mod-php5                             install
php-console-table                               install
php-gettext                                     install
php-pear                                        install
php-tcpdf                                       install
php-xml-parser                                  install
php5                                            install
php5-cli                                        install
php5-common                                     install
php5-curl                                       install
php5-dev                                        install
php5-gd                                         install
php5-geoip                                      install
php5-intl                                       install
php5-json                                       install
php5-mcrypt                                     install
php5-mysql                                      install
php5-readline                                   install
php5-xmlrpc                                     install
phpmyadmin                                      install
pkg-php-tools                                   install

host-a.ecodis.net

The server has the latest Debian Wheezy PHP5 (5.4.39 on 2015-04-20) and has the following key php.ini variables changed from the defaults:

disable_functions = "dl,exec,passthru,pcntl_exec,popen,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,show_source,symlink,syslog,system,system_exec"
memory_limit = 256M
post_max_size = 512M
upload_max_filesize = 512M
max_file_uploads = 120

The PHP packages installed:

dpkg --get-selections | grep php
cakephp                                         install
cakephp-scripts                                 install
libapache2-mod-php5                             install
php-console-table                               install
php-pear                                        install
php-xml-parser                                  install
php5                                            install
php5-cli                                        install
php5-common                                     install
php5-curl                                       install
php5-dev                                        install
php5-gd                                         install
php5-mcrypt                                     install
php5-mysql                                      install
phpmyadmin                                      install

web1.ecohost.coop

The server has the latest Debian Squeeze LTS PHP5 (5.3.3-7+squeeze28 on 2015-11-08) and has the following key php.ini variables changed from the defaults:

memory_limit = 256M
post_max_size = 60M
upload_max_filesize = 60M
max_file_uploads = 20

The PHP packages installed:

dpkg --get-selections | grep php
libapache2-mod-php5                             install
libapache2-mod-suphp                            install
php-auth                                        install
php-pear                                        install
php5                                            install
php5-cgi                                        install
php5-cli                                        install
php5-common                                     install
php5-curl                                       install
php5-gd                                         install
php5-imagick                                    install
php5-imap                                       install
php5-mcrypt                                     install
php5-mysql                                      install
php5-suhosin                                    install
phpmyadmin                                      install
suphp-common                                    install

web2.ecohost.coop

The server has the latest Debian Squeeze LTS PHP5 (5.3.3-7+squeeze28 on 2015-11-08) and has the following key php.ini variables changed from the defaults:

memory_limit = 128M
post_max_size = 8M
upload_max_filesize = 2M
max_file_uploads = 20

The PHP packages installed:

dpkg --get-selections | grep php
libapache2-mod-php5                             install
libapache2-mod-suphp                            install
php-auth                                        install
php-pear                                        install
php5                                            install
php5-cgi                                        install
php5-cli                                        install
php5-common                                     install
php5-curl                                       install
php5-gd                                         install
php5-imagick                                    install
php5-imap                                       install
php5-mcrypt                                     install
php5-mysql                                      install
php5-suhosin                                    install
phpmyadmin                                      install
suphp-common                                    install