How to change PHP version & Custom PHP ini on Cpanel

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

Php Selector

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:

Php Selector

4. 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:

Php Selector

Finally click save!

  • php.ini, php selector, cloudlinux
  • 3 Users Found This Useful
Was this answer helpful?

Related Articles

Enabling Hotlink Protection On cPanel

A Hotlink is when content on your site is illegally used (embedded) on another site, using your...

Why I See Internal server errors

For PHP applications to access MySQL databases or upload (write) files to site folder(s), the...

Change cPanel Style or Theme

Switching over to another cPanel theme with a different style is easy and there are two ways to...

Change Language of your cPanel

If you want to change your cPanel language to your native language, you should follow this...