How To change PHP version in cPanel with CloudLinux PHP Selector
To use the CloudLinux PHP Selector, first login to your cPanel account, then scroll down and click on the "Select PHP Version" option/link.
Select a version from dropdownlist The CloudFlare PHP Version Selector in cPanel offers multiple PHP Versions, and you can select a older version required by your application or use the latest available version too, in our example, we'll select PHP 7.4,
After Selecting the version then Click on Apply
Done! Your selected PHP version has been applied to your account, in our example, as we have selected PHP 7.4, PHP 7.4 has been applied to our account.