Difference between revisions of "PHP"

From WebarchDocs
Jump to: navigation, search
(host2.webarch.net)
Line 15: Line 15:
 
The server has the latest [https://packages.debian.org/search?suite=wheezy&searchon=names&keywords=php5 Debian Wheezy PHP5] (5.4.39 on 2015-04-11) and has the following variables changed from the defaults:
 
The server has the latest [https://packages.debian.org/search?suite=wheezy&searchon=names&keywords=php5 Debian Wheezy PHP5] (5.4.39 on 2015-04-11) and has the following variables changed from the defaults:
  
<syntaxhighlight lang="php">
+
<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,system,system_exec
 
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
 
memory_limit = 200M
 +
 +
html_errors = Off
 +
 +
register_globals = Off
 +
 +
register_long_arrays = Off
  
 
post_max_size = 200M
 
post_max_size = 200M
Line 25: Line 31:
  
 
max_file_uploads = 120
 
max_file_uploads = 120
</syntaxhighlight>
+
 
 +
allow_url_include = On
 +
</pre>
  
 
== host1.webarch.net ==
 
== host1.webarch.net ==

Revision as of 16:01, 11 April 2015

Information about the PHP versions and settings for the Webarchitects, Ecohost and Ecodissident Shared Hosting servers.

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.

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

host1.webarch.net

hosting.webarch.net

host-a.ecodis.net

web1.webarch.net

web2.webarch.net