Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

A little confused - cPanel + CloudLinux + Litespeed

Discussion in 'CloudLinux' started by Mauritz, Feb 19, 2018.

  1. Mauritz

    Mauritz Well-Known Member

    Joined:
    Apr 29, 2015
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Johannesburg
    cPanel Access Level:
    Root Administrator
    We've got a cPanel server running on CloudLinux that also makes use of Litespeed. With cPanel already offering MultiPHP manager and CloudLinux offering the PHP selector (which we both have installed) we're really not sure which one of these tools a client needs to use to a) select which PHP version they're site should use and make customization to?

    Further to this, based on the above, we would like to setup opCache and make some changes to opcache server wide. Which php.ini file would we need to modify to make configurations for opcache or is there a dedicated place in WHM we can use to add custom php.ini settings server wide?
     
  2. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    779
    Likes Received:
    274
    Trophy Points:
    113
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    My personal recommendation is that you consider either using the CloudLinux ea4 + alt-php + mod_lsapi and only make the CloudLinux PHP Selector available to your users (alt-php comes with opCache included in the alt-php for all of the relevant versions) I use this combination and I am delighted with the performance and facilities it provides the users

    >>> OR <<<

    Use the cPanel ea4 + ea-php + Litespeed and only make the cPanel MultiPHPManager available to your users

    I am aware one should be able to mix and match, but it has the potential to complicate your life o_O
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Mauritz

    Mauritz Well-Known Member

    Joined:
    Apr 29, 2015
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Johannesburg
    cPanel Access Level:
    Root Administrator
    How would we go about then disabling the multiPHP manager for clients? I agree, currently it's a little confusing as we're not 100% sure which packages are active.

    I've actually not rebuild Apache with EasyApache since we installed Litespeed, I'll be honest it's a little confusing as I am not sure if we should still update EasyApache. I can see that our current install is:

    "Contains Apache 2.4, PHP 5.5, PHP 5.6, PHP 7.0, PHP 7.1, and PHP 7.2"

    There appears to be no mod_lsapi

    I have also located the "CloudLinux + All PHP Options + OpCache + mod_lsapi" profile which I suspect is the one you're referring to above. Can I rebuild our EasyApache with this profile and would it affect how Litespeed works? I understand that Litespeed inevitably includes the base apache config so just want to have my ducks in a row on this one :)

    Thank you for your help so far!
     
  4. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    779
    Likes Received:
    274
    Trophy Points:
    113
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    You should read the CloudLinux Litespeed Documentation if you don't want to remove your Litespeed server.

    I would guess that you would need to remove the Litespeed server you have installed if you are going to use the "CloudLinux + All PHP Options + OpCache + mod_lsapi" profile, but you may want to open a support request directly to CloudLinux and ask for their help and advice on this.

    Also the following docs may be useful :
    CloudLinux php Selector Documentation
    CloudLinux mod_lsapi Documentation
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    cPanelMichael likes this.
  5. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,749
    Likes Received:
    1,884
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    The documents and information referenced on the previous post should point you in the right direction. Let us know if you have any additional questions.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice