In order to change your PHP version, you would need to first login to cPanel 

Once you are logged in you can select the "Select PHP Version" option.



You can change the PHP version by selecting a different one from the drop down menu. Thereafter you can click on "Set as current" to save the setting.



Congrats! You have successfully changed your PHP version!