lsapi & eaccelerator (or mmcache)

IO

Active Member
#1
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 ?
 

mistwang

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

IO

Active Member
#3
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.
 

mistwang

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