How to switch between PHP versions with the PHP selector

Modified on Sat, 16 Oct, 2021 at 11:09 AM

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 Featuresand 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 versionor 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 Savebutton 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:

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article