This tutorial explains how to easily change the PHP version for your website with just a few clicks. First log in the cPanel for your account. Then click the PHP Version Manager tool in cPanel.
Navigate to the directory you would like to change the PHP version for by clicking on the folder icons. Note that the change will apply to subdirectories for the chosen directory as well. If you would like to make the change for the whole website – choose the public_html directory. Click on the directory name. Select the desired PHP version from the list and click Save.
To have your website running on the recommended PHP version, choose the Managed PHP Version option and click Save. This way you would ensure that your website will always be running on a new, secure and stable PHP version, when such is available, without any changes being required on your end.