Overriding default PHP.ini settings

Our webhosting uses SuPHP which makes it easy for you to override the default PHP settings on your account.

Simply place a php.ini file in the public_html folder of your website, or any folder where you want to apply a different configuration, and voila! The settings will only apply to the folder where the php.ini file is placed. If you want to apply it recursively to any child directories, then add the following line to a .htaccess file within the same directory:

suPHP_ConfigPath /home/username/public_html

(where "username" should be replaced with your cPanel username)

Have more questions? Submit a request

Comments