Difference between revisions of "PHP"

From WebarchDocs
Jump to: navigation, search
(host1.webarch.net)
Line 59: Line 59:
  
 
== host1.webarch.net ==
 
== host1.webarch.net ==
 +
 +
The server has the latest Debian Squeeze LTS PHP5 (5.3.3-7 on 2015-04-20) and has the following php.ini variables changed from the defaults:
 +
 +
<pre>
 +
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
 +
</pre>
 +
 +
The PHP packages installed:
 +
 +
<pre>
 +
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
 +
</pre>
  
 
== hosting.webarch.net ==
 
== hosting.webarch.net ==

Revision as of 13:04, 20 April 2015

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

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.

host2.webarch.net

The server has the latest Debian Wheezy PHP5 (5.4.39 on 2015-04-11) and has the following 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

html_errors = Off

register_globals = Off

register_long_arrays = Off

post_max_size = 200M

upload_max_filesize = 200M

max_file_uploads = 120

allow_url_include = On

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 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

host-a.ecodis.net

web1.webarch.net

web2.webarch.net