SOLVED Problem with lsapi_mod and MultiPHP

bejbi

Well-Known Member
PartnerNOC
Jan 20, 2006
167
31
178
Poland
cPanel Access Level
DataCenter Provider
I installed mod_lsapi from CloudLinux.

But it is not visible in Handlers in MultiPHP (I have only defult: suphp, cgi and none). Should it be there ?

How to diagnose what is wrong ?

W.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463

bejbi

Well-Known Member
PartnerNOC
Jan 20, 2006
167
31
178
Poland
cPanel Access Level
DataCenter Provider
Thank You.

I have lsapi working, but It doesnt work on php 5.3 and 7.1 (all the settings are the same on all php versions, all modules are the same), but in log I have:

End of script output before headers: ea-php71

W.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Hello,

Do you notice any additional output to /usr/local/apache/logs/error_log when this happens? Also, please post the output from the following commands:

Code:
/usr/local/cpanel/bin/rebuild_phpconf --current
rpmverify ea-apache24
Additionally, try using the update flag with the cagefsctl command to see if it helps correct the issue:

Code:
cagefsctl --update
Thank you.
 

bejbi

Well-Known Member
PartnerNOC
Jan 20, 2006
167
31
178
Poland
cPanel Access Level
DataCenter Provider
Problem resolved - we needed to edit /etc/container/php.handler and insert additional PHP handlers.

CloudLinux was not added php 7.1 and 5.3 into this file by default.

W.
 
  • Like
Reactions: Infopro