To change the PHP version in cPanel, follow these steps:
-
Log in to your cPanel account.
-
In the "Software" section, click on the "Select PHP Version" icon.
-
Click on the "Switch To PHP Options" button.
-
From the dropdown menu, select the PHP version you want to use.
-
Click on the "Set as current" button.
-
Click on the "Save" button to apply the changes.
-
If you have any custom PHP settings that you want to use, click on the "Switch To PHP Options" button again and use the options provided to configure your custom PHP settings.
-
Click on the "Save" button to apply the changes.
That's it! The PHP version for your account should now be changed. It's a good idea to test your website to make sure everything is working as expected with the new PHP version.