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.
That is all - you have now changed the PHP version for your website.