503 Service Unavailable

Discussion in 'Install/Configuration' started by weird, Sep 19, 2006.

  1. weird

    weird New Member

    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.
  2. mistwang

    mistwang LiteSpeed Staff

    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.
  3. weird

    weird New Member

    Ok. I set Max Connections=25, Instances=1 and PHP_LSAPI_CHILDREN=25.
    But 503 ayway.
  4. mistwang

    mistwang LiteSpeed Staff

    Please make a fresh installation and make sure the phpinfo page works, then cutomize the configuration from there.
  5. weird

    weird New Member

    'fresh installation' mean 'not upgrade from previous version'?
  6. mistwang

    mistwang LiteSpeed Staff

    Correct. You can back up your vhost configuration if you want to.
  7. weird

    weird New Member

    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.
  8. xing

    xing LiteSpeed Staff

    Correct, if php does not have lsapi compiled correctly, 503 will result.

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

Share This Page