Changing your PHP Version, PHP Modules and PHP Settings

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.
  • 100 Users Found This Useful
Was this answer helpful?

Related Articles

How can I test or preview my website before switching DNS?

There are a few different ways to preview your site before DNS resolves. This will allow you to...

How to use FileZilla for FTP

FileZilla is a powerful and free FTP client used for transferring files over the Internet to your...

How do I get a free Let'sEncrypt SSL certificate for my domain?

cPanel >> Security >> Let’sEncrypt SSL™Powered by Lets Encrypt, Smart customers can...

Can I set up custom name servers?

We can provide custom name servers with the correct glue records associated, providing that the...

Powered by WHMCompleteSolution