• Get In Touch

Changing PHP Settings

Need Hosting? Try ours, it's fast, reliable and feature loaded with support you can depend on.
View Plans

You can create a custom php.ini on your account by creating a file inside your public_html folder called php.ini. In this file you can place PHP configurations in php.ini format, such as:

  • register_globals = on;
  • display_errors = off;

Once this is done, this php.ini will work for all files inside your public_html folder. You can place different php.ini files in different folders. However, if you want your php.ini to work for your whole account, you need to open or create a file inside your public_html called .htaccess, and place this line in it:

  • suPHP_ConfigPath /home/username/public_html/php.ini

This will then apply the php.ini to all of your sub folders.

Please note You will need to replace ‘username’ with your own account username.

You can create a combination of php.ini and .htaccess files in an unlimited amount of sub folders, so it’s very flexible.

Need Hosting? Try ours, it's fast, reliable and feature loaded with support you can depend on.
View Plans

Share this Article!