PHP Settings that Cannot be Changed

Shared and Reseller hosting are shared environments and have certain limits on what can be changed 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 and Reseller 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 exceeded on Shared and Reseller accounts. 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.

SEO Hosting

SEO Hosting now has its own support team!

Visit the SEO Hosting website for contact information, including a new phone number (866-692-9231) and updated chat support buttons.

HostGator staff no longer has access to SEO Hosting accounts and all future support requests should be sent to the new SEO Hosting Support Team.

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: HostGator cannot know why you want or need to change these settings. You are changing this at the advice of your web designer or the developer of your script. HostGator can only show you where to make the change.