Installing PHP 5 with LiteSpeed

#1
Hello,

I compiled PHP 5.2.6 successfully with XCache in the option in the LiteSpeed Webconsole Admin, but PHP remains as PHP 4, i maded a gracefull restart and later a restart of the server but nothing remains PHP 4.4.8.

What i need to do after Compiling?

Thanks.
 

mistwang

LiteSpeed Staff
#2
You need to change the script handler configuration for "php" from "lsphp4" to "lsphp5", if "lsphp5" does not exist, you need to add a external application similar to "lsphp4" using "/opt/lsws/fcgi-bin/lsphp5" as the command.
 
Top