How to change PHP settings in cPanel
From time to time you may need to change the version of PHP to run with your website, or you may need to change some PHP resource limits. cPanel provides an easy-to-use interface for managing your PHP settings.
First, login to cPanel.
Now navigate to Select PHP Version.
You’ll now be taken to the PHP management screen for your hosting account.
Changing PHP Version
To change PHP version, just click the drop down menu beside PHP Version, select the version you want to change to, then click Set as current.
Enabling PHP Extensions
To enable a PHP extension, just tick the tick box for the PHP extension you wish to enable.
Note: You need to be using a non-native version of PHP in order to manage the PHP extensions.
Changing PHP Options
To change PHP options, just click Switch to PHP Options.
Enter the new values for any of the PHP options and the change will then be applied to your hosting account.