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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Some awesome path errors from a newbie!

Reply
 
Thread Tools Display Modes
  #1  
Old 10-19-2008, 02:37 PM
Amanda Amanda is offline
Member
 
Join Date: Oct 2008
Posts: 12
Default Some awesome path errors from a newbie!

A friend assisted me in installing Litespeed after I ran into some stumbling blocks following PickledOnion's tutorials from Slicehost. Then everything appeared to be working fine! I was really happy and went to set up a virtual host for asteig.com, still following the tutorials.

First of all, the public_html for asteig.com is at ~/sites/asteig.com/public_html with the config files in the asteig.com folder.

I edited the PHP virtual host template to the following:
Virtual Host Root: $SERVER_ROOT/sites/$VH_NAME
Document Root: $VH_ROOT/public_html/

That worked fine. I get an error in the external tab:
Command: $SERVER_ROOT/fcgi-bin/lsphp
Gives the error: *file /usr/local/lsws/fcgi-bin/lsphp does not exist. Please create manually.

I have no idea what the /usr/local crap is at all. So I created the folder ~/usr/local/lsws/fcgi-bin/lsphp (copy/pasted right off of SSH) but Litespeed still is not happy.

I'm not sure if this is related or if it is just two separate mistakes but when logging in I also get several PHP4 errors on the first page as follows:
ERROR [config:server:epsr:lsphp4] invalid path - /usr/local/lsws/fcgi-bin/lsphp4, it cannot be started by Web server!
ERROR [config:scripthandler] Can not find handler with type: 8, name: lsphp4.
ERROR [config:scripthandler] Can not find External Application: lsphp4, type: lsapi
ERROR [config:scripthandler] use static file handler for suffix [php4]

I'm at a loss. I understand none of this. Any help or even a link or two would be very much appreciated.

Amanda
Reply With Quote
  #2  
Old 10-19-2008, 03:20 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
If you need PHP, you need to build your own PHP binary, either through our web console or build it manually from command line.

http://www.litespeedtech.com/support...wiki:php:lsapi
Reply With Quote
  #3  
Old 10-19-2008, 04:50 PM
Amanda Amanda is offline
Member
 
Join Date: Oct 2008
Posts: 12
Thank you for your help. PHP5 is running fine.

http://asteig.com/phpinfo.php

Could it be that I need to do something with symlinks?
Reply With Quote
  #4  
Old 10-20-2008, 02:33 PM
Amanda Amanda is offline
Member
 
Join Date: Oct 2008
Posts: 12
I am still getting the following errors after creating a symlink and correcting the path issue. Any ideas?

I removed asteig.com completely but it's still giving me that error on the bottom.

[config:scripthandler] Can not find handler with type: 8, name: lsphp4.
[config:scripthandler] Can not find External Application: lsphp4, type: lsapi
[config:scripthandler] use static file handler for suffix [php4]
[config:vhost:asteig.com] Path for vhost root is not accessible: /usr/local/lsws/sites/asteig.com/
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 01:30 AM.



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