Skip to main content

How to Change the PHP Version for a Domain in cPanel

You can change the PHP version for a specific domain to ensure compatibility with your website's scripts or to improve performance. This task is performed within the cPanel interface and is available to all account users.

Before you begin

You will need:

  • A cPanel account with permissions to manage the specific domain.

  • The domain name or the specific account you wish to modify.

Change the PHP version

  1. Log in to your cPanel account.

  2. Locate the Software section and select MultiPHP Manager.

  3. Select the checkbox next to the domain you wish to update.

  4. Select the desired PHP version from the PHP Version dropdown menu.

  5. Click Apply.

Confirm the result

  • The page will refresh, and the selected domain will now display the updated PHP version in the list.

  • You can verify the change by visiting your website and checking the PHP version via a script or a "PHP Info" page.

Limitations

The available PHP versions depend on the specific server configuration and the features supported by the selected version. Changing the PHP version may affect the functionality of certain plugins or scripts if they are not compatible with the new version.

Did this answer your question?