LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   Install/Configuration (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=11)
-   -   php compiled but not working on site (http://www.litespeedtech.com/support/forum/showthread.php?t=5619)

Brent W Peterson 01-10-2012 07:11 AM

php compiled but not working on site
 
Sorry everyone, I know I have done this before but I can't remember how I fixed it last time.

I installed litespeed on a new server, compiled PHP without errors etc.

I have my site root working and it return html. However when I try to run php it simply downloads the file?

I created my external app and script handler. I did not use the Apache templates as I never got PHP compiled for Apache (I need 5.2.17)

webizen 01-10-2012 10:00 AM

http://www.litespeedtech.com/support...ead.php?t=5324
http://www.litespeedtech.com/support...ead.php?t=5572

Brent W Peterson 01-10-2012 10:06 AM

I copied the site from a working Magento site so the .htaccess file hasn't changed.

webizen 01-10-2012 10:09 AM

is your new site configured to use .htaccess?

Brent W Peterson 01-10-2012 10:21 AM

Yes, I have it set on the server tab and the virtual tab

a test.html file works, but not phpinfo.php

webizen 01-10-2012 10:27 AM

remind me of this

http://www.litespeedtech.com/support...ead.php?t=4659

Brent W Peterson 01-10-2012 10:36 AM

Yea, that is what I was thinking to (And it's even me :)
I just switch to Apache configs and I then look at my ext app tab
Type Name Address Action
LSAPI App lsphp5 uds://tmp/lshttpd/lsphp5.sock

webizen 01-10-2012 10:38 AM

did you create script handler for .php which uses lsphp5 Ext app?

Brent W Peterson 01-10-2012 10:41 AM

Yes under script hander I have suffixes php5, Handerler TYpe Litespeed API, Serverleve:Lsphp5

Do I need one for php as well?

webizen 01-10-2012 10:44 AM

Quote:

Originally Posted by Brent W Peterson (Post 31412)
Yes under script hander I have suffixes php5, Handerler TYpe Litespeed API, Serverleve:Lsphp5

Do I need one for php as well?

Yes, you do!


All times are GMT -7. The time now is 01:40 AM.