Some sites require specific versions of PHP. To change the version:
In cPanel, go to the “Software” section and click “Select PHP Version”.
Select the PHP version you want to use and click “Save”.
Test your site after the change to make sure everything works correctly.