PHP settings that cannot be changed




PHP settings that cannot be changed

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, reseller or SEO Hosting.

Shared and Reseller Hosting

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

safe mode = Off (cannot adjust)
memory_limit = 256M (MAXIMUM)
max_execution_time = 30 (MAXIMUM in seconds)
max_input_time = 60 (MAXIMUM in seconds)
post_max_size = 64M (MAXIMUM)
upload_max_filesize = 64M (MAXIMUM)
enable_dl = Off (cannot adjust)

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: BanaHosting 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. BanaHosting can only show you where to make the change.

  • 22 Benutzer fanden dies hilfreich
War diese Antwort hilfreich?

Powered by WHMCompleteSolution