You can easily change the PHP version on your cPanel account by following these steps:
Log in to your cPanel account.
Navigate to the Software section and click on Select PHP Version.
Click on the PHP Version drop-down box and select your preferred PHP version.
Click on Apply button to save your PHP version change.
It is important to know which version of PHP is required for your web applications to avoid any unwanted errors. If any error occurs on your website after changing PHP version, revert back to the previous PHP version your website was using.