Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
litespeed_wiki:cpanel:use-cloudlinuxphpselector-on-ea4-with-lsws [2019/01/09 21:27] Lisa Clarke [alt-php within Multi-php Manager] |
litespeed_wiki:cpanel:use-cloudlinuxphpselector-on-ea4-with-lsws [2019/09/25 15:43] (current) Jackson Zhang |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Configuring cPanel EA4 + CloudLinux + LSWS to Use CloudLinux PHP Selector Instead of EA4 MultiPHP ====== | ====== Configuring cPanel EA4 + CloudLinux + LSWS to Use CloudLinux PHP Selector Instead of EA4 MultiPHP ====== | ||
- | If you use cPanel EA4 on a CloudLinux system, the LiteSpeed auto-installer script will add the proper external apps for both EA4 MultiPHP and CloudLinux PHP Selector automatically, when installing LSWS. PHP handlers will be set to use EA4 MultiPHP by default with version 5.6. | + | If you use cPanel EA4 on a CloudLinux system, the LiteSpeed(LSWS < 5.4) auto-installer script will add the proper external apps for both EA4 MultiPHP and CloudLinux PHP Selector automatically, when installing LSWS. PHP handlers will be set to use EA4 MultiPHP by default with version 5.6. |
+ | |||
+ | However, there is an important change starting from LSWS 5.4, external apps and script handlers are not necessary unless you want to specifily define handlers. External apps may still exist/be inherited if you upgrade LSWS from an earlier version but you may find the external app and script handler empty for the new installation. | ||
+ | |||
+ | The followings are explained how an earlier version of LSWS(<5.4) exnternal apps and script handler work or inherited external apps and script handlers for LSWS 5.4 and above. | ||
The following external apps are installed: | The following external apps are installed: | ||
Line 96: | Line 100: | ||
{{ :litespeed_wiki:cpanel:cpanel-multiphp-altphp.png?600 |}} | {{ :litespeed_wiki:cpanel:cpanel-multiphp-altphp.png?600 |}} | ||
+ | |||
===== Why CloudLinux PHP Selector Works on Apache but Does Not Work on LSWS ===== | ===== Why CloudLinux PHP Selector Works on Apache but Does Not Work on LSWS ===== | ||
In a cPanel EA4 and CloudLinux environment, Most of the LSWS LSPHP external apps such as ''lsphpxx'' are pointing to ''ea-phpxx'', instead of ''alt-phpxx''. Only one external app, ''cl_phpselector'' is pointing to ''/usr/local/bin/lsphp'' (the CloudLinux PHP selector binary). | In a cPanel EA4 and CloudLinux environment, Most of the LSWS LSPHP external apps such as ''lsphpxx'' are pointing to ''ea-phpxx'', instead of ''alt-phpxx''. Only one external app, ''cl_phpselector'' is pointing to ''/usr/local/bin/lsphp'' (the CloudLinux PHP selector binary). |