1. Home
  2. Technical Support
  3. Enabling PHP extensions, Changing PHP Version and Setting PHP Options

Enabling PHP extensions, Changing PHP Version and Setting PHP Options

From time to time you may need to enable a certain PHP module that is not enabled by default, or use a version of PHP that is not the default installed version for that particular service.

You may also need to change some specific PHP options, such as memory_limit.

For this guide, you will need access to your cPanel account. If you have forgotten your cPanel credentials, they were included in the original ‘Welcome to Serversaurus’ email which you should be able to find in your inbox otherwise follow these instructions on how to update your cPanel password.

How do I enable a PHP extension, or change the PHP version

1. The first thing you will want to do is login to cPanel, and head to the ‘Select PHP Version‘ function:

2. You will likely see that a ‘native’ version of PHP is selected.

You will need to select a non-native version from the dropdown (it can be the same version), and then press ‘Set as current‘.

3. Once the page reloads, make sure the checkbox for any modules that you require are checked, and then press ‘Save’.

If the extension you require is missing, you will need to contact support.

How do I change my PHP options?

1. The first thing you will want to do is login to cPanel, and head to the ‘Select PHP Version’ function:

2. You will likely see that a ‘native’ version of PHP is selected.

3. You will need to select a non-native version from the dropdown (it can be the same version), and then press ‘Set as current’.

4. Next, you will need to select the ‘Switch to PHP Options’ link.

Once the page reloads, apply any changes to the listed options, and then press ‘Save’.

If the option you require is missing, you will need to contact support.

Updated on September 21, 2017

Was this article helpful?