To change the PHP version in cPanel, you must first log into your cPanel account. Then follow these steps:
- Look for the "Software" section and click the "MultiPHP Manager" link.
- On the next page, select the domain(s) for which you want to change the version.
- In the upper right, under "PHP Version" select the desired PHP version
- Click "Apply"
IMPORTANT: Please note that changing the PHP version may affect the compatibility of your website and code. Be sure to test your website after changing the PHP version to make sure everything works correctly.