MultiPHP INI Editor | Bluehost Support
Support
  1. bluehost knowledge base

MultiPHP INI Editor

Bluehost cPanel’s MultiPHP INI Editor allows you to make configuration changes to your PHP settings. This is along with MultiPHP Manager, which gives you a way to change the PHP version of your sites.

This article will provide you information on how to edit php.ini using two modes, such as basic and editor.



Editing the PHP.INI

Before making the changes, you need to be aware of backward compatibility issues with scripts: Older PHP coding may not be compatible with newer PHP versions. Avoid skipping versions, and instead, make updates gradually. Take note since this is a global change and will affect how the specified PHP version operates for the server.

Basic Modes

It allows you to make changes to some common types of PHP configuration.

  1. Log in to your Bluehost control panel.
  2. Click on the Advanced tab from the side navigation menu to the left.
  3. Under the Software section, select the MultiPHP INI Editor.
    rock-phpini-bh.png
  4. From the drop-down, select the home directory or a domain’s document root to open the corresponding PHP configuration.
    multi-php-ini-editor-settings
  5. Under the Basic Mode, there is an option to edit the most commonly changed variables:
    • max_execution_time
    • max_input_vars
    • memory_limit
    • upload_max_filesize
      multi-php-ini-editor-settings-php-derective1
  6. Once the changes have been made, select the Apply button.

Editor Mode

It makes your life easier by adding custom PHP configuration changes. It allows you as well to change PHP variables that are not shown in the Basic Mode.

Important Note: You must be extremely cautious when you make changes to it. Errors could have resulted in a non-functional PHP script. Only advanced users should use this section.

  1. Log in to your Bluehost control panel.
  2. Click on the Advanced tab from the side navigation menu to the left.
  3. Under the Software section, select the MultiPHP INI Editor.
    rock-phpini-bh.png
  4. Under the Editor Mode, there is a drop-down; select the home directory or a domain’s document root to open the corresponding PHP configuration.
    multi-php-ini-editor-settings-editor-mode-code
  5. In the Search text field, type the PHP setting you are looking to update.

    PHP has been configured to use the following settings on our shared and reseller servers:

    php_flag display_errors Off (cannot adjust)
    php_flag memory_execution_time 30 (MAXIMUM in seconds)
    php_flag max_input_time 60 (MAXIMUM in seconds)
    php_flag max_input_vars 1000 (MAXIMUM in seconds)
    php_flag memory_limit 256M (MAXIMUM amount of memory a script may consume)
    php_flag post_max_size 260M (MAXIMUM) 
    php_flag session.gc_maxlifetime 1440 (MAXIMUM) 
    php_flag session.save_path "/var/cpanel/php/sessions/ea-php70" (MAXIMUM) 
    php_flag upload_max_filesize 256M (MAXIMUM) 
    php_flag zlib.output_compression off (cannot adjust)
    multi-php-ini-editor-settings-editor-mode-code
  6. Once the change has been made, select the Save button.

Pro Tip: To verify that the changes take effect, please look at the phpinfo page. To access it, follow this link format https://example.com/phpinfo.php.

If you are interested to know more that contains an extensive description of configuring the php.ini file, you may visit these MultiHP INI Editor documentation for more help.

For customers who are under the Legacy account and don't have a MultiPHP INI Editor, you can still customize your PHP settings and manage its limitations by following these guides: How To Increase The PHP Memory Limit and How To Change Upload File Size Limit In PHP - Increase Upload Limits.

If you need further assistance, feel free to contact us via Chat or Phone:

  • Chat Support - While on our website, you should see a CHAT bubble in the bottom right-hand corner of the page. Click anywhere on the bubble to begin a chat session.
  • Phone Support -
    • US: 888-401-4678
    • International: +1 801-765-9400

You may also refer to our Knowledge Base articles to help answer common questions and guide you through various setup, configuration, and troubleshooting steps.