lsapi & eaccelerator (or mmcache)

Discussion in 'Install/Configuration' started by IO, Sep 24, 2005.

  1. IO

    IO Active Member

    I try your new api for php. I use eaccelerator memory cache features.
    Each lsphp process use it's own eaccelerator memory cache and this feature became obsolete.

    Is there a possibility to use lsphp and eaccelerator memory or we must use fcgi ?
  2. mistwang

    mistwang LiteSpeed Staff

    In order for LSAPI PHP sharing on eaccelerator shared memory, You need to set environment variable PHP_LSAPI_CHILDREN to match the value of "max connections", and set 'Instances' to '1', please read the README file about this.
  3. IO

    IO Active Member

    I try it and it work, thank you.
    I search in the html documentation and I don't find any information about PHP_LSAPI_CHILDREN. Where can I find the README file about this ?

    I have another problem :
    There is no gzip compression for dynamic pages with lsapi.
    If Script Handler is set to phpFcgi, gzip work for the same requests.
  4. mistwang

    mistwang LiteSpeed Staff

    The gzip compression problem should be fixed in 2.1.1 along with the wrong CGI environment variable. LiteSpeed PHP has been updated as well. The README file is under php/sapi/litespeed/.

    Thank you for the bug report.

Share This Page