View Full Version : Php5 installed but does not work
11-21-2007, 09:22 PM
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?
11-23-2007, 01:14 PM
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.
11-26-2007, 10:21 PM
I did like what you said but still problem:
[xxxxxxxxxxxxx1:62036-0#APVH_yourfastproxy.com:80] MIME type [L
11-27-2007, 09:25 AM
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.
11-27-2007, 05:24 PM
Yes the file lsphp-5.2.5 is there. and it works. I tried to run the command lsphp-5.2.5 -v and it shows details i want.
Also i got only this error:
[9x9xxxxxxxxxxxx1:63299-0#APVH_yourfastproxy.com:80] MIME type for suffix '.php' does not allow serving as static file, access denied!
my phpinfo: http://yourfastproxy.com/info.php
11-27-2007, 05:34 PM
Can you PM me the login to the web admin console? I can take a look.
11-28-2007, 03:15 PM
Added script handler configuration for php5, it should work well now.
11-29-2007, 09:35 AM
I get blank page for phpinfo page?
I already added this to .htaccess AddType application/x-httpd-php5 php
11-29-2007, 09:40 AM
Please Make a copy of info.php to info.php5, see if it works properly. Then try the "AddType" in .htaccess.
11-29-2007, 09:54 AM
Only the php4 working
Php5 show blank page
I commented out the AddType in the .htaccess.