Websterz Technology Blog

Free tutorials, Tech News, Source codes, Tweaks and Tips.

To change the PHP version in DirectAdmin with CloudLinux PHP Selector, you can follow these steps:

  1. Log in to DirectAdmin: Open your web browser and navigate to the DirectAdmin control panel. Log in with your username and password.
  2. Navigate to “Select PHP Version”: Once logged in, find the “Select PHP Version” or a similar option. This is typically located in the “Advanced Features” section. It may also be labeled as “PHP Selector” or something similar.
  3. Choose the desired PHP version: Inside the “Select PHP Version” section, you should see a list of available PHP versions. Select the version you want to switch to from the dropdown menu.
  4. Apply the changes: After selecting the desired PHP version, there should be an “Apply” or “Save” button. Click on it to apply the changes.
  5. Verify the PHP version: Once the changes are applied, you can verify the PHP version by creating a PHP info file or checking the PHP version in the command line. To create a PHP info file, create a new file (e.g., info.php) in your web directory with the following content:

<?php phpinfo(); ?>

Access this file through your web browser (e.g., http://yourdomain.com/info.php) and check the PHP version displayed.

Note: The availability of these options may depend on your specific hosting environment and server configuration. If you can’t find the PHP version selector in DirectAdmin, it’s possible that your hosting provider has disabled this feature or uses a different method for managing PHP versions.

Always make sure that the PHP version you choose is compatible with your website’s code. Some applications may require specific PHP versions, and changing the PHP version may affect the functionality of your site.

See also  Unable to install yum-rhn-plugin, please contact CloudLinux (Fix)

You can also watch video tutorial on youtube:

Spread the love

Leave a Reply

Your email address will not be published. Required fields are marked *