Changing your PHP Version, PHP Modules and PHP Settings

cPanel >> Software - Select PHP Version

Changing PHP Version and Modules / Extensions

We provide the facility to enable/disable PHP modules / libraries per account.

To enable a specific PHP module or alter your domains PHP version, please follow the steps below:

1.  Login to your cPanel and click 'Select PHP version' from the Software panel.

2.  From the drop-down list select
the desired PHP version, for example 5.6 (please note that you can still select the same version as the native version).

3.  Click 'Set as current'

4.  A list of available modules / libraries will appear.  Use the tickboxes to enable or disable specific libraries required.

5.  Click 'Save' to confirm the changes.

Once updated, the selected modules will then be active on your domain.  This may take a few moments to take effect.

Changing PHP Settings / Options

1.  Login to your cPanel and click 'Select PHP version' from the Software panel.

2.  Click 'Switch to PHP Options'.

3.  Clicking on an Option value here will allow you to change it - you may be presented with a field to enter a new value, or a drop-down to select from.  Note, if you wish to enable an option that is currently disabled, remove it from the disable_functions value.  It is important to ensure that you only leave one comma between the remaining options and no spaces.

4.  Click 'Save' to confirm the changes.

Was this answer helpful?

Add to Favourites Add to Favourites      Print this Article Print this Article

Also Read
Generating cPanel backups (Views: 201)
Restoring backups from R1Soft Backups (Views: 452)
How can I test or preview my website before switching DNS? (Views: 14230)
Initial VPS WHM / cPanel Configuration (Views: 350)
How can I migrate my customer cPanels to Smart Hosting? (Views: 5100)