With the PHP selector you can select the required modules for a PHP version.

Select PHP version in DirectAdmin

  1. Navigate to DirectAdmin user level.
  2. Navigate to Advanced Featuresand click on Select PHP Version.
  3. Go to Changing the PHP module with the PHP Selector.

Change PHP version in cPanel

  1. Log in to cPanel.
  2. Go to Software → Select PHP versionor enter this name in the search bar.
  3. Go to Changing the PHP module with the PHP Selector.

Changing the PHP module with the PHP Selector

  1. Most used modules are enabled by default. In this screen, you can enable or disable PHP modules. For every PHP version, a different set of PHP modules are support. You can find the most up-to-date list of modules in your control panel.
    Image 1 - Select PHP modules

  2. Select the required modules.
  3. Click on Save.


To customise the PHP configuration further you can check the following related articles: