PDA

View Full Version : 503 Service Unavailable


weird
09-19-2006, 12:50 PM
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
09-19-2006, 01:17 PM
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.

weird
09-19-2006, 02:01 PM
Ok. I set Max Connections=25, Instances=1 and PHP_LSAPI_CHILDREN=25.
But 503 ayway.

mistwang
09-19-2006, 02:02 PM
Please make a fresh installation and make sure the phpinfo page works, then cutomize the configuration from there.

weird
09-19-2006, 02:06 PM
'fresh installation' mean 'not upgrade from previous version'?

mistwang
09-19-2006, 02:10 PM
Correct. You can back up your vhost configuration if you want to.

weird
09-20-2006, 12:39 PM
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
09-20-2006, 12:55 PM
Correct, if php does not have lsapi compiled correctly, 503 will result.

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