Php5 installed but does not work

fastproxy

Well-Known Member
#1
Hi,

I got php5 installed via admin Panel.

But when i try to open the phpinfo file to see if it works, I see the apache page? ( apache is stoped at that time)

Also, got this error at Admin home Panel:

[99.xxxxxxxxxxxx:63869-0#APVH_yourfastproxy.com:80] MIME type []for suffix '.php5' does not allow serving as static file, access denied!

My phpinfo link here: http://yourfastproxy.com/info.php5

If i change the extension of the above file to info.php then i see PHP 4.4.7 installed.

What is going on here? Can you give me some help?
 
Last edited:

mistwang

LiteSpeed Staff
#2
You need to change the lsphp5 external app configuration. the command should be set to "$SERVER_ROOT/fcig-bin/lsphp-5.x.x" matching the name of lsphp5 executable.
 

mistwang

LiteSpeed Staff
#4
Is there a file lsws/fcgi-bin/lsphp-5.2.5, assuming you are using 5.2.5? Make sure it works properly from the command line. set "command" for lsphp5 external app to that.
Restart LSWS, make sure there is no complain about missing executable for lsphp5 external app.
 
Top