FAQ on PHP Settings
We're here to help. You will find listed below, a list of the most common questions of our features and service. If you cannot find the answer to your questions in our Frequently Asked Questions (FAQ) area, then fell free to contact us at anytime and our support specialists will assist you.

Existing customers, you can also submit a Service Ticket and have our staff assist you in that manner. Any non-existing customers please use one of the three methods for contacting us.

Complete Guide

For a complete guide please visit: http://php.net/manual/en/ini.php.

PHP Settings List

You can find your PHP.INI file in your 'cgi-bin' directory in your hosting account. Below are some of the PHP settings that you can change, including some descriptions on the options that you will see in the file, and what effect changing them might have, or what reasonable limits may be on the ones you may wish to change:

short_open_tag = On

Allow the <? tag. Otherwise, only <?php and <script> tags are recognized.
NOTE: Using short tags should be avoided when developing applications or libraries that are meant for redistribution, or deployment on PHP servers which are not under your control. For portable, redistributable code, be sure not to use short tags.

Back To Top
asp_tags = Off

Allow ASP-style <% %> tags.

Back To Top
y2k_compliance = On

Enforce year 2000 compliance (will cause problems with non-compliant browsers). It it recommended to leave this setting on.

Back To Top
ignore_user_abort = On

If enabled, the request will be allowed to complete even if the user aborts the request. Consider enabling it if executing long request, which may end up being interrupted by the user or a browser timing out.

Back To Top
max_execution_time = 30

Maximum execution time of each script, in seconds. The larger the number the more time will be allowed before the script times out.

Back To Top
max_input_time = 60

Maximum amount of time each script may spend parsing request data. If your script has many functions which requires more time to process, consider increasing this number.

Back To Top
display_errors = Off

Print out errors (as a part of the output). For production web sites, you're strongly encouraged to turn this feature off. Keeping display_errors enabled on a production web site may reveal security information to end users, such as file paths on your Web server, your database schema or other information.

Back To Top
log_errors = On

Log errors into a log file, you're strongly advised to use error logging in place of error displaying on production web sites.

Back To Top
error_log = /hsphere/local/home/<YOUR_HSPHERE_USERNAME>/logs/php_log

Log errors to specified file. This will only work if log_errors = on.

Back To Top
register_globals = Off

You should do your best to write your scripts so that they do not require register_globals to be on. Using form variables as globals can easily lead to possible security problems, if the code is not very well thought of. If you require register globals, change this setting to on.

Back To Top
post_max_size = 8M

Maximum size of POST data that PHP will accept. If you have an upload form and it is timing out, consider increasing this value.

Back To Top
file_uploads = On

Whether to allow HTTP file uploads. If you do not allow anyone upload files from your website, it is highly recommended to disable this feature for increased security.

Back To Top
upload_max_filesize = 8M

Maximum allowed size for uploaded files. If you have an upload form and it is timing out, consider increasing this value.

Back To Top
date.timezone = America/Chicago

Defines the default timezone used by the date functions. For a list of valid timezones please review this website:


Back To Top
sendmail_path = "/usr/sbin/sendmail -t -i"

If your scripts are sending any emails, this is the default path which should not require any changes.

  • zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3
  • zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3
  • zend_optimizer.version=3.3.3
  • zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
  • zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
If you have encoded your files with ZendEncoder and want to use those on your website, these 5 lines must be here.

Back To Top
McAfee Secure sites help keep you safe from identity theft, credit card fraud, spyware, spam, viruses and online scams