Can the PHP configuration be changed?

Yes you can change the configuration of the PHP environment through the use of the PHP Selector on a per cPanel web hosting service basis.

PHP Selector

Within cPanel PHP Selector functionality is now available to both adjust the PHP version running within the hosting service, but also to adjust the loaded PHP modules. This allows you to select between PHP versions 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 7.1 and 7.2.

To use this please follow these steps:

  1. Login to cPanel.
  2. Click the Select PHP Version icon.
  3. You will see the option PHP Version, adjust this to suit.
  4. Set any required modules to enabled.
  5. Click Save.
  6. If you previously had a custom php.ini file set, please remove it from your /public_html and comment out the SetENV/PHPRC line from your .htaccess file.

Note the "Native" PHP version is the one compiled as the servers default, this is typically the latest stable 5.6.x release.

  • php, version, php modules, cpanel, php.ini, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 7.1, 7.2, modules, extensions, selector
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Is it possible to block certain IP's from reaching a website?

Yes it is possible to block certain IP’s from reaching a website; this may include bots or...

How do I create and delete a cron job?

cron jobs run scheduled commands at specific times. This is helpful for setting up automatyed...