> ## 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 using PHP Selector

> Use cPanel's PHP Selector to change PHP versions, settings, and extensions. Note: Applicable to select hosting accounts only.

This article describes how to change the PHP version, settings, and loaded extensions in cPanel using the PHP Selector.

## Changing the PHP version

Our servers support multiple versions of PHP. To change the PHP version used for your account, 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 **Select PHP Version**:\
   ![cPanel - Select PHP Version icon](https://static.hosting.com/kb/kb-cpanel-110-software-select-php-version.png)

   > 🚧 Important
   >
   > If you do not see the **Select PHP Version** icon, your server does not support this feature.

3. cPanel displays the current PHP version. To change the PHP version, in the **Current PHP Version** list box, select the version that you want to use, and then click **Apply**. The new PHP version takes effect immediately.

## Changing PHP settings and extensions

In addition to changing the PHP version from cPanel, you can change various PHP settings. 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 *php.ini* files. 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 **Select PHP Version**:\
   ![cPanel - Select PHP Version icon](https://static.hosting.com/kb/kb-cpanel-110-software-select-php-version.png)

   > 🚧 Important
   >
   > If you do not see the **Select PHP Version** icon, your server does not support this feature.

3. On the **Extensions** tab, select which extensions you want to enable for the current PHP version:

   * To enable an extension, select the check box next to the extension name.

   * To disable an extension, clear the check box next to the extension name.![cPanel - Software - Select PHP extensions](https://static.hosting.com/kb/kb-cpanel-110-software-php-select-extensions.png)

   * cPanel automatically saves your selections, and they take effect immediately.

   > 👍 Tip
   >
   > To reset the extension list to the default configuration, click **Reset to default** in the top right corner.

4. To change settings for the current PHP version:

   * Near the top of the page, click the **Options** tab.

   * Click the value next to the setting that you want to modify.

   * Depending on the type of setting, a list box may appear with predefined settings that you can choose. Or, a text box may appear so you can type the value:\
     ![cPanel - Software - Select PHP options](https://static.hosting.com/kb/kb-cpanel-110-software-php-options.png)

   * cPanel automatically saves your selections, and they take effect immediately.

   > 👍 Tip
   >
   > When you modify a setting, a **Reset to default** link appears beneath the setting label. Click the link to change the setting back to the default value.

## Related articles

* [Getting started with cPanel](/docs/getting-started-with-cpanel)
