There are several different aspects that you have the ability to update and change within your PHP.INI file. Here is a breakdown of several of the options you can modify within the PHP.INI file of your domain name. If you are unsure exactly what php.ini is check out the article What is a PHP.ini File or if you need help in locating your php.ini file visit the article How to find your PHP.INI file.
short_open_tag = on
This option within your PHP.INI file allows the use of the <? tag. If this option is not activated only <?php and <script> tags are recognized. Please remember using short tags should be avoided when developing applications or libraries that are meant for redistribution, or deployment on PHP servers that are not under your control. For portable, redistributable code, be sure not to use short tags.
asp_tags = Off
This option allows ASP-style <% %> tags.
y2k_compliance = On
This option enforces year 2000 compliance. This option will cause problems with non-compliant browsers but it is recommended to leave this setting on.
ignore_user_abort = On
If this option is enabled, the request will be allowed to complete even if the user aborts the request. We recommend that you consider enabling it if you are executing long request, which may end up being interrupted by the user or the browser timing out.
max_execution_time = 30
This option sets the maximum execution time of any script running within the site. The larger the number listed here the more time that will be allowed before the scripts times out.
max_input_time = 60
This option sets the 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.
display_errors = Off
When this option is selected your site will print out errors as part of the output. If you are a using a business or production website we strongly recommend that you keep this turned off. If display_errors is activated it may reveal security information to visitors to your website, such as file paths within your web server, your database schema or other vital information.
log_errors = On
With this option selected Log errors are listed within your log file. We recommend that you use log_errors instead of display_errors since the log is protected within your control panel.
error_log = /hsphere/local/home/<username>/logs/php_log
This option tells the server where your log file is located but can only be used if log_errors is activated.
register_globals = Off
We recommend having register_globals deactivated. You should strive to do your best to write any script used within your website so that they do not require register_globals to be activated. Using form variables as globals can very easily lead your site into security problems.
post_max_size = 8M
This option allows the maximum size of POST data that PHP will accept. Within your site if you have an upload form and it is timing out, consider increasing the post_max_size to verify if post_max_size is the issue.
files_uploads = On
This option allows you to decide if you allow HTTP uploads. If you do not allow anyone to upload files from within your website we recommend that you disable files_uploads to provide your site increased security.
upload_max_filesize = 8M
This option allows you to modify the maximum allowed to upload to your website. If you have a WordPress site that is only allowing 2MB upload size and a large theme to upload, consider increasing this setting.
data.timezone = America/Chicago
This option defines the default timezone used by the date functions. For a complete list of timezones please review here.
sendmail_path = “/usr/sbin/sendmail -t -i”
If the scripts within your website are sending any emails, this is the default path which should not require any changes.
If you have encoded your files with ZendEncoder and want to use those on your website, these 5 lines must be here.