Change PHP Version and PHP Modules

1. Log into your cPanel account. 
2. Scroll down to the Software section > Select PHP Version

3. Here 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. 

Use the PHP Version drop-down box to select the required version, click on Set as current in order to apply the changes. 

NOTE: The 'native' PHP version does not allow changing any options. You can set the desired values using a php.ini file: 

5. To change individual settings within the PHP version in question, click on Switch to PHP Settings. 

By clicking on one of the options in grey, you will be presented with a drop-down list to change specific settings. Hit Apply to implement the settings: 

NOTE 1: It is recommended to update your website scripts and use PHP 5.4. If the latest software you run for your websites is not yet compiled for PHP 5.4, please contact the script vendor for a compatibility patch. 

NOTE 2: 
If you used a php.ini file for editing your account PHP configuration before, you will need to replicate the custom values using PHP Selector tool. 

NOTE 3: 
In order to increase the max upload size, make sure to modify both post_max_size and upload_max_filesize values. 

Was this answer helpful? 3 Users Found This Useful (9 Votes)