PHP.ini
PHP.ini is a special file that have php (the web scripting language) settings. There is one master PHP.INI where many php.ini settings are read. Many web hosting companies allow their customers to use custom php.ini files to configure php settings that are required by some web software scripts (e.g drupal content management system requires register_globals to be disabled in order to be installed and on the web server). Also some gallery script requires some settings to be changed like session.save_path, upload_max_size and others.
BlueHost custom php.ini
Blue host allows custom php.ini on their servers. You can define either single php.ini for your entire account, or you can have custom php.ini file for every folder to further customize specific settings required by some scripts. Here is how to generate Master PHP.ini file that will set specific settings for your entire account:
- Login to your cPanel
- Click on the PHP Config icon located under “Software/Services”
- Look for the section that says “Install Default php.ini”
- Click the “INSTALL PHP.INI MASTER FILE” button
- You will now have a file inside the public_html folder named php.ini.default
- Use the File Manager or FTP to rename that file to php.ini
- from http://helpdesk.bluehost.com/index.php/kb/article/128 . When you want to install drupal set register_globals to off.


