A little confused - cPanel + CloudLinux + Litespeed

Mauritz

Well-Known Member
Apr 29, 2015
62
0
6
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?
 

rpvw

Well-Known Member
Jul 18, 2013
1,088
446
113
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
 

Mauritz

Well-Known Member
Apr 29, 2015
62
0
6
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!
 

rpvw

Well-Known Member
Jul 18, 2013
1,088
446
113
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
 
  • Like
Reactions: cPanelMichael

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,233
363
cPanel Access Level
DataCenter Provider
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.
 
Thread starter Similar threads Forum Replies Date
F CloudLinux 9