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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > 503 Service Unavailable

Reply
 
Thread Tools Display Modes
  #1  
Old 09-19-2006, 11:50 AM
weird weird is offline
New Member
 
Join Date: Sep 2006
Posts: 7
Default 503 Service Unavailable

Why when i set environment variable PHP_LSAPI_CHILDREN (any value) for phpLsapi external app, i get 503 error? Also i set Max Connections=25, Instances=25.
Reply With Quote
  #2  
Old 09-19-2006, 12:17 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
If you use PHP_LSAPI_CHILDREN, you should set it to match "Max Connections" and set "Instances" to 1. Should not use PHP_LSAPI_CHILDREN and "Instances" at the same time.
Reply With Quote
  #3  
Old 09-19-2006, 01:01 PM
weird weird is offline
New Member
 
Join Date: Sep 2006
Posts: 7
Ok. I set Max Connections=25, Instances=1 and PHP_LSAPI_CHILDREN=25.
But 503 ayway.
Reply With Quote
  #4  
Old 09-19-2006, 01:02 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Please make a fresh installation and make sure the phpinfo page works, then cutomize the configuration from there.
Reply With Quote
  #5  
Old 09-19-2006, 01:06 PM
weird weird is offline
New Member
 
Join Date: Sep 2006
Posts: 7
'fresh installation' mean 'not upgrade from previous version'?
Reply With Quote
  #6  
Old 09-19-2006, 01:10 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Correct. You can back up your vhost configuration if you want to.
Reply With Quote
  #7  
Old 09-20-2006, 11:39 AM
weird weird is offline
New Member
 
Join Date: Sep 2006
Posts: 7
There is no 503 error after fresh install. I think problem in my self-compiled lsphp module. With your build of lsphp everything is all right.
Reply With Quote
  #8  
Old 09-20-2006, 11:55 AM
xing xing is offline
LiteSpeed Staff
 
Join Date: Oct 2003
Location: Los Angeles, California
Posts: 380
Correct, if php does not have lsapi compiled correctly, 503 will result.

Follow our wiki step by step for a bullet-proof compile.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ruby On Rails 503 Service Unavailable Bug mroberto Ruby/Rails 6 03-24-2007 07:06 PM
strange error.. & 503 service Unavailable xinn Install/Configuration 23 10-11-2005 08:29 AM
503 Service Unavailable - while setting up Perl FastCGI nigel CGI/Perl/Python 1 02-15-2005 06:15 AM
503 Service Unavailable illidan Bug Reports 3 01-03-2005 09:27 AM
503 Service Unavailable George Install/Configuration 14 02-11-2004 01:23 AM


All times are GMT -7. The time now is 04:53 PM.



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