Premium Shared Hosting At Your Door
Configuring PHP environment variables through your custom PHP.INI
Your hosting account(s) come with the ability to run your own php.ini file allowing you to customize PHP environment variables for your scripts to work efficiently and to avoid intervention from our technical support.
This will walk you through how to use the php.ini file for the purpose of changing PHP environment variables.
- Locate the php.ini file in your /public_html folder or sub-folders of your hosting account.
- If you are unable to locate the php.ini file, simply create it in the directory of which the script requires it. If you do not know, contact your script developer/programmer.
Example Environment Variables that can be changed:
register_globals = On / Off
upload_max_filesize = 30M
post_max_size = 30M
memory_limit = 30M
upload_tmp_dir = 30M
max_execution_time = 180
To view if your changes have taken place, you can create a phpinfo.php file. Add the following line of code to the blank file:
<? phpinfo(); ?>
Load the file by going to http://www.yourdomain.com/phpinfo.php and it will display the information.