Litespeed Installation Problem on cPanel

#1
Hello,
I've installed litespeed over ssh with .sh script command.
And plug-in came to my WHM then i've installed over cPanel steps.

1) Installed litespeed,
2) re-compiled php for LS
3) Switched to Litespeed

and website is gone,

when i logged in LS admin panel everything looks fine but even one line code didn't come.
no error message or anything, only i see blank (empty) page. there isn't any code when viewed soruce.

This is related .php files,

if i upload an simple html file it works, or if i put "hello word" in any simple .php file it works too.

How can i debug this problem?
 

NiteWave

Administrator
#2
put phpinfo.php in document root, access it under apache and litespeed, see if lsphp matchs with apache php.

can you switch to apache successfully ?
 
#3
You mean my apache php version and lsphp version should be same?
I'll check, what should i do if doesn't match.

Yes i returned apache successfully.
 

NiteWave

Administrator
#4
2) re-compiled php for LS
this is called "Build Matching LSPhp" in WHM litespeed plugin.
you can run it now while running apache.
after finish, you can switch to litespeed, see if the issue is gone.

if the issue is gone, then it was because this step was not successful for whatever reason. and rebuild fix it.
 
Top