In order to change PHP version on cPanel please do the following:
1. Log in to cPanel –> click on “Select PHP Version”
2. Select the preferred/ required PHP version
3. Click on “Set as current” and then on Save to store your changes.
Note: Before you change PHP version of your website make sure that your web application/website is compatible with target PHP version.