Change the PHP Version from cPanel
To change the PHP version of all domains in cPanel, follow these steps:
Step 1. Log in to your cPanel account.
Step 2. In the "Software" section, click on the "Select PHP Version" icon.
Step 3. On the "Select PHP Version" page, select the desired PHP version from the drop-down menu.
Step 4. Click the "Set as current" button to apply the changes.
You have successfully changed the PHP version on the account level.
How to Change PHP Versions for a Website Using MultiPHP Manager in cPanel?
What is MultiPHP Manager?
The MultiPHP Manager in cPanel is a tool that allows you to manage the PHP version your websites. With this tool, you can set the PHP version for each of your domains individually.
To change the PHP version of multiple domains in cPanel, follow these steps:
Step 1. Log in to your cPanel account.
Step 2. In the "Software" section, click on the "MultiPHP Manager" icon.
Step 3. On the "MultiPHP Manager" page, select the domains you want to modify from the list.
Step 4. From the "PHP Version" drop-down menu, select the desired PHP version for the selected domains.
Step 5. Click the "Apply" button to apply the changes.
Note: Make sure that the PHP version you are switching to is compatible with your website and any extensions or plugins you are using. If your website relies on any deprecated functions or features, switching to a newer PHP version may cause issues.
After changing the PHP version, it is important to thoroughly test your website to ensure that everything is working as expected. This may include checking for any error messages or issues with specific features or functionality.
Some hosting providers may have a different process for changing the PHP version. If the above steps do not work for you, you may need to contact your hosting provider for assistance.