How To Change PHP Version, Modules & Settings

This video tutorial explains the process of changing 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?

 Print this Article

Also Read

How To Create A New eMail Account In cPanel

The following video guide covers adding a new email account within cPanel.

How To Create A MySQL Database And User

The following video guide covers creating a MySQL databases and users.

How To Add Or Modify cron Jobs

This video tutorial explains the process of adding or modifying a Cron job within cPanel.

How To Generate cPanel Backups

The following video guide covers how to take cPanel backups.

Powered by WHMCompleteSolution