503 Service Unavailable

#1
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.
 

mistwang

LiteSpeed Staff
#2
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.
 
#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.
 

xing

LiteSpeed Staff
#8
Correct, if php does not have lsapi compiled correctly, 503 will result.

Follow our wiki step by step for a bullet-proof compile.
 
Top