Knowledgebase

How do I enable LVE and PHP Selector in LiteSpeed?

Enabling LVE (LiteSpeed Virtual Environment) and PHP Selector in LiteSpeed Web Server involves a few steps. LVE allows you to set resource limits for individual users or groups, and PHP Selector allows you to choose different PHP versions for different domains or directories.

Here's a step-by-step guide:

Enabling LVE:

  1. Log in to WHM/cPanel:

    • Access your WHM/cPanel dashboard using your web browser.
  2. Install LiteSpeed Web Server:

    • If you haven't already, install LiteSpeed Web Server. You may need to do this through WHM's "EasyApache" or a similar tool.
  3. Install CageFS:

    • CageFS is a component of CloudLinux that provides a virtualized file system for each user. It's often used in conjunction with LVE. You'll need to install and configure CageFS. This can typically be done through WHM.
  4. Install CloudLinux LVE Manager:

    • Install the LVE Manager which provides a graphical user interface for managing LVE limits. You can install it from WHM/cPanel.
  5. Enable LVE for LiteSpeed:

    • In your LiteSpeed Web Server configuration, make sure that LVE is enabled. You'll typically find this option in the server settings.

Enabling PHP Selector:

  1. Install PHP Selector:

    • Install the PHP Selector plugin. This can usually be done through WHM's plugin or extension manager.
  2. Configure PHP Selector:

    • Access the PHP Selector configuration panel. You'll likely find this in WHM's plugin or extension manager. Set the options according to your preferences.
  3. Select PHP Versions:

    • Once PHP Selector is installed, you can go to the account level or domain level settings to select the PHP version for each specific domain or user.
  4. Adjust LVE Limits (optional):

    • If you want to set specific resource limits for users or groups, use the LVE Manager in conjunction with PHP Selector to assign appropriate limits.
  5. Restart LiteSpeed Web Server:

    • After making these changes, you should restart LiteSpeed Web Server for the changes to take effect.

Please note that the specific steps and options might vary slightly depending on your hosting environment, control panel, and the exact setup of your LiteSpeed Web Server. Always refer to the official documentation and support resources for your specific hosting platform.

Additionally, if you're not familiar with these configurations, it might be a good idea to consult with your hosting provider or a system administrator who is experienced with LiteSpeed, CloudLinux, and cPanel/WHM environments.

  • 0 Users Found This Useful
Was this answer helpful?