Changing the PHP version on your web server depends on the server environment you’re using.
Looking to utilize a PHP version other than the default one in your cPanel? You can achieve this by utilizing the Select PHP Version service provided by CouchDeck.
Step 1:
Access your cPanel through the Domain Management console on CouchDeck.
Step 2:
Go to Software ➝ Select PHP Version

Step 3:
Under the Extensions tab click on the dropdown right next to Current PHP Version. A list of versions will be available for you to choose from. Now select any version and click on Apply



Step 4:
If you see (current) right next to the version that you clicked it means you have successfully changed your version.

Congratulations! You have now effectively modified the PHP version for your cPanel site.