How to switch between PHP versions with the PHP selector

With the PHP selector you can configure any support PHP version and select the required modules.

Select PHP version in DirectAdmin

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

Change PHP version in cPanel

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

Changing the PHP version with the PHP Selector

  1. By default, your account runs on the native PHP version that has been installed. We will update this version from time to time to make sure it is the latest version. We recommend to select the version you prefer to make sure that your application keeps running.


    Image 1 - Select PHP version
  2. Click on the dropdown (see image 1) and choose the desired PHP version.
  3. Click on Set as current.

    The Save button only updates the selected PHP modules and not the versions. To update the PHP version, click on Set as current.

  4. The PHP versions have been updated now.

 

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

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Introduction to CloudLinux

With CloudLinux, shared hosting environments benefit of a better security, stability and features...

Which PHP versions do you support?

On our secure hosting platform, we support many PHP versions, even versions that are not...

How to fix 508 Resource Limit is Reached

To increase the stability of the server, we manage the resources of every account. In some...

How can I view the resource usage

DirectAdmin Navigate to DirectAdmin and go to User Level. Go the Advanced Features and click...

Customise PHP modules with the PHP selector

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

Powered by WHMCompleteSolution