How to Change PHP Version in cPanel
1. Log into cPanel. Click the Select PHP Version button in the Software section
2. Select the version of PHP you want to use from the dropdown and check off the necessary module. Click the Save button to save your php configuration.