PHP settings that cannot be changed

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

safe mode = Off (cannot adjust)
memory_limit = 64M (MAXIMUM)
max_execution_time = 30 (MAXIMUM)
max_input_time = 60 (MAXIMUM)
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 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.

NOTE Deezon cannot know why you want or need to change these settings. You are changing these at the advice of your webdesigner or the developer of your script. HostGator can only show you where to make the changes.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Htaccess handling

Sometimes when you edit the .htaccess file in cPanel, the lines must wrap and this causes a line...

Password Protect Directories Icon

To password protect directory: Note: At this time, cPanel can only protect directories, not...

How to generate/download a full backup ?

A full backup is a backup of all of your files, e-mail, databases, etc. To run a full backup,...

Local, Backup, and Remote Mail Exchanger

This is a setting that tells HostGator how to handle your incoming emails. We recommend using...

Webmail

You can check the webmail for any account by logging into domain.com/webmail with the full...