> ## Documentation Index
> Fetch the complete documentation index at: https://kb.hosting.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Changing PHP versions and settings with MultiPHP

> Discover how to change the PHP version and settings in cPanel using MultiPHP with this easy guide.

This article describes how to change the PHP version and additional settings by using MultiPHP in cPanel.

## Changing the PHP version

MultiPHP enables you to use multiple versions of PHP on your server at the same time. To do this, follow these steps:

1. Log in to cPanel.
   > 📘 Note
   >
   > If you do not know how to log in to your cPanel account, please see [this article](/docs/accessing-cpanel).

2. On the **Tools** page, in the **Software** section, click **MultiPHP Manager**:\
   ![](https://static.hosting.com/kb/kb-cpanel-jupiter-software-multiphp-manager-icon.png)

   > 🚧 Important
   >
   > If you do not see **MultiPHP Manager** , your server does not support this feature.

3. Under **System PHP Version**, cPanel displays the default PHP version for your server. Any domain that does not have a PHP version explicitly set uses this version.

4. To change the PHP version for a domain, under **Set PHP Version per Domain**, select the check box next to the domain for which you want to change the PHP version:\
   ![](https://static.hosting.com/kb/kb-cpanel-paper-lantern-multiphp-manager-select-domain.png)

5. In the **PHP Version** list box, select the PHP version you want to use for the domain, and then click **Apply**:\
   ![](https://static.hosting.com/kb/kb-cpanel-paper-lantern-multiphp-manager-select-version.png)

6. The new PHP version for the domain takes effect immediately.

## Changing PHP settings

In addition to changing the PHP version from cPanel, you can change various PHP settings using MultiPHP. You can enable and disable PHP extensions, as well as configuration directives such as **allow\_url\_fopen**, **error\_log**, and many more.

<Note>
  This feature removes the need to configure and maintain custom files for PHP settings from the command line. Instead, you control all PHP settings directly from cPanel.
</Note>

To change your PHP settings, follow these steps:

1. Log in to cPanel.
   > 📘 Note
   >
   > If you do not know how to log in to your cPanel account, please see [this article](/docs/accessing-cpanel).

2. On the **Tools** page, in the **Software** section, click **MultiPHP INI Editor**:\
   ![](https://static.hosting.com/kb/kb-cpanel-jupiter-software-multiphp-ini-editor-icon.png)

   > 🚧 Important
   >
   > If you do not see **MultiPHP INI Editor** , your server does not support this feature.

3. Under **Configure PHP INI basic settings**, in the **Select a location** list box, select the home directory or a domain document root:\
   ![](https://static.hosting.com/kb/kb-cpanel-paper-lantern-multiphp-ini-editor-select-location.png)

4. Under **PHP Directive**, locate the PHP directive you want to change.

5. Under **Setting**, select the new setting that you want for the directive.

   > 📘 Note
   >
   > Depending on the directive you select, you may need to use a slider to enable or disable the setting. Alternatively, you may need to type a value into a text box.

6. At the bottom of the page, click **Apply**. The new PHP settings take effect immediately.
