Shared and reseller hosting are shared environments and have certain limits on what you can change, in order to maintain the stability of the server. Dedicated server and VPS customers may change all the settings in the php.ini file and do not have the same limits as shared or reseller.

Shared and Reseller Hosting

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

safe mode = Off
memory_limit = 256M
max_execution_time = 30
max_input_time = 60
post_max_size = 64M
upload_max_filesize = 64M
enable_dl = Off

 

The above settings either CANNOT be changed or cannot be exceeded on a shared and reseller account. 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

Dedicated servers and VPS can change and raise these settings to any value desired.

Dedicated Server and VPS customers with WHM access can change the limit by going to WHM > Service Configuration > PHP Configuration Editor.

Important Note: Although you have the ability to change the settings on a dedicated server or VPS to anything you want, an incorrectly configured server will perform poorly or even crash. Unless you have specific reasons to change the PHP settings, it is recommended that you leave them at the default settings or use the recommended settings for the script or application you are using.

Settings You Can Change

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.

NOTE: Elcoserv cannot know why you want nor need to change these settings. You are changing this at the advice of your web designer or the developer of your script. Elcoserv can only show you where to make the change.