Knowledgebase
Creating your own custom php.ini file
Posted by Mark Willis on 18 June 2011 12:49 PM
It is easy to create your own custom php.ini file.

First, add this to .htaccess in your public_html directory:

# Custom php.ini settings
suPHP_ConfigPath /path/to/custom/php.ini/
<Files php.ini>
order allow,deny
deny from all
</Files>

The path to your custom php.ini above should be changed to wherever on your account you want to place the custom php.ini file. 

Then at the above suPHP_ConfigPath, create a php.ini file with the custom settings you require.


(0 vote(s))
Helpful
Not helpful

Comments (0)