PHP settings that cannot be changed

PHP has been configured to use the following settings on our servers:

safe mode = off
memory_limit = 64M MAXIMUM
max_execution_time = 30 MAXIMUM
post_max_size = 64M MAXIMUM
upload_max_filesize = 64M MAXIMUM
enable_dl = Off

The above settings either CANNOT be changed or cannot be exceeded. These limits are set to prevent extremely high resource usage in shared environments. We have found that a majority of the PHP scripts will work within these limits, and the scripts that require more resources are best suited for a VPS or dedicated server. Dedicated servers and VPS can change and raise these settings to any value desired.

We also set the following:

register_globals = On
magic_quotes_gpc = Off

These two settings, and any other PHP settings not aforementioned, can be changed using a custom php.ini file located in the same folder as the script that requires the settings.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Installed Apache Modules

  core.c   mod_authn_file.c   mod_authn_dbm.c   mod_authn_dbd.c  ...

Apache mod_rewrite and examples

What is mod_rewrite? Mod Rewrite allows you to change the URL that everyone sees when they visit...

Powered by WHMCompleteSolution