BlueHost Custom PHP.ini

BlueHost Support for Custom PHP.INI Files

Including a custom PHP.INI files to your site will help increase your site’s security and will boost the overall performance of your site. If you are one of those online business owners with a world audience or market, then it makes great sense to add a custom PHP.INI files, doing this will boost your visitor traffic from other nations where the internet connections is generally slower and would naturally enhance your site performance locally too.

Thankfully, BlueHost offers top quality support for custom PHP.INI files, and that is not all! With BlueHost coupon code, users will only get to pay….wait for this….just $3.95 per month on their website hosting cost!

BlueHost PHP.INI File Support

If you have a website that uses the BlueHost PHP 5, then it is highly recommended that you make use of INI_Set options rather than choosing to create a user.INI file for your site.

The PH.INI Master File Maker

a)      Is your Host Server PHP.INI type SA (Stand Alone)? From the dropdown select box, select the Stand Alone PHP.INI file – SA/CT or SA

b)      You will need to add Host Server Default PHP.INI path, in order to get the path, simply click on the “info viewer tab”, when you have done this, you will then click on the button of the View PHPinfo. After you have done this, you will then see a 403 forbidden error – do not worry about this – all you need to do is to ensure that you refresh your browser, now you should see the PHP Server configuration webpage. Search for the “Loaded Configuration File” path. Simply drag your cursor over it, copy and paste this path into the text box that you see below.

c)       The PHP Error log path you see should be copied and pasted into the PHP Error Log file text.

d)      Then click on the Make Master PHP.INI file button. Voila, now you have created your new Master PHP.INI file.

The BlueHost PHP.INI File Creator

  1. From the dropdown select box, you should choose “My Master PHP.INI file’
  2. For your site hosting account, your custom PHP.INI file will then be created in your/public_html/folder. For example: /home/abcdef/public_html/php.ini.\

As soon as you have created the custom PHP.INI file, simply navigate to the PHP Error log tab / webpage and all you need to do is to simply copy the Error log Path as seen by your server: the path that is shown to you to the PHP Error Log Location Set to: text box & click on the Set Error Log Location button.

Please know that Suhosin-Patch on BlueHost is set up by default.

How to Change the PHP Environment for Your Website With The PHP.INI

In order to create a new PHP.INI file, first login to your cPanel, then click the PHP configuration icon that can be found under “Software/Services”.

Navigate to the “Install Default PHP.INI” section and simply click on the “Install PHP INI Master File” button. After you have done this, you will see a file in the Public_html folder that is called “PHP.INI default”, then make use of the FTP or File Manager in order to rename the file and call it “PHP.INI”.

Do you have any more questions concerning configuring PHP.INI file? You will be glad to know that there are loads of descriptions in the file itself. Log on to http://www.php.net/docs.php to get more help.

How to Change the PHP type Used for your BlueHost Account

Simply login to your cPanel and click on the PHP configuration icon that is situated under the “Software/Services”, choose the kind of PHP version that you want to utilize and then click on “Save Changes”.

Default Standard PHP

It is important that you clearly understand that every account utilizes Standard PHP by default. With the selection of standard PHP, the PHP script will utilize Master PHP.INI configuration file of the server – that is, if the script’s directory doesn’t have a PHP.INI file. Initially, every website hosting account has a duplicate of the PHP.INI file located in the public_html directory. Users may choose to make a few modifications to this file and the changes will immediately take precedence over the master file. When a user chooses the standard PHP in the cPanel, they will have to make a copy of the modified PHP.INI file – the copy should be made into every subdirectory that contains PHP files which are to be utilized for the custom PHP settings.

Please take Note:

It is vital that you understand that different folders can actually come with different PHP.INI files that contain a different type of PHP settings. So, users who need to utilize different PHP settings for 2 different types of scripts can just place the two of them each in their very own folder with their own PHP.INI file.

Take advantage of the BlueHost coupon in order to get access to paying only $3.95 each month for your site hosting.

About the Author

About the Author: .

Subscribe

If you enjoyed this article, subscribe now to receive more just like it.

Subscribe via RSS Feed

Comments are closed.

Top