LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > php compiled but not working on site

Reply
 
Thread Tools Display Modes
  #1  
Old 01-10-2012, 07:11 AM
Brent W Peterson Brent W Peterson is offline
Senior Member
 
Join Date: Apr 2010
Posts: 109
Default 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)
__________________
Brent W Peterson
Twitter me - http://twitter.com/#!/brentwpeterson
Reply With Quote
  #2  
Old 01-10-2012, 10:00 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,339
http://www.litespeedtech.com/support...ead.php?t=5324
http://www.litespeedtech.com/support...ead.php?t=5572
Reply With Quote
  #3  
Old 01-10-2012, 10:06 AM
Brent W Peterson Brent W Peterson is offline
Senior Member
 
Join Date: Apr 2010
Posts: 109
I copied the site from a working Magento site so the .htaccess file hasn't changed.
__________________
Brent W Peterson
Twitter me - http://twitter.com/#!/brentwpeterson
Reply With Quote
  #4  
Old 01-10-2012, 10:09 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,339
is your new site configured to use .htaccess?
Reply With Quote
  #5  
Old 01-10-2012, 10:21 AM
Brent W Peterson Brent W Peterson is offline
Senior Member
 
Join Date: Apr 2010
Posts: 109
Yes, I have it set on the server tab and the virtual tab

a test.html file works, but not phpinfo.php
__________________
Brent W Peterson
Twitter me - http://twitter.com/#!/brentwpeterson
Reply With Quote
  #6  
Old 01-10-2012, 10:27 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,339
remind me of this

http://www.litespeedtech.com/support...ead.php?t=4659
Reply With Quote
  #7  
Old 01-10-2012, 10:36 AM
Brent W Peterson Brent W Peterson is offline
Senior Member
 
Join Date: Apr 2010
Posts: 109
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
__________________
Brent W Peterson
Twitter me - http://twitter.com/#!/brentwpeterson
Reply With Quote
  #8  
Old 01-10-2012, 10:38 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,339
did you create script handler for .php which uses lsphp5 Ext app?
Reply With Quote
  #9  
Old 01-10-2012, 10:41 AM
Brent W Peterson Brent W Peterson is offline
Senior Member
 
Join Date: Apr 2010
Posts: 109
Yes under script hander I have suffixes php5, Handerler TYpe Litespeed API, Serverleve:Lsphp5

Do I need one for php as well?
__________________
Brent W Peterson
Twitter me - http://twitter.com/#!/brentwpeterson
Reply With Quote
  #10  
Old 01-10-2012, 10:44 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,339
Quote:
Originally Posted by Brent W Peterson View Post
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!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 05:35 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.