In some cases, correct functioning of your website depends on a PHP version installed on the server.
The PHP Selector function makes it possible to select the necessary PHP version as well as enable/disable certain PHP modules and functions. To change your PHP version, follow these steps below:
1. Log into your cPanel account.
2. Scroll down to the Software section and click on Select PHP Version:
3. You will see the list of available modules and extensions.
If you do not need to change the PHP version and just want to turn on/off specific extensions, you can do this by checking/unchecking the corresponding boxes.
Select the required version from the php version drop-down , click on Set as current in order to apply the changes and then save.
NOTE: The 'native' PHP version does not allow changing any options. You can set the desired values using a php.ini file: