View Single Post
  #43  
Old 11-25-2011, 06:06 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,389
I have to take it back.

you need to be in /usr/local/lsws/fcgi-bin/ to check lsphp5.

for below, it is likely you are in a different directory (.../php) that has a copy of php.ini with "extension=xcache.so" in it.

Quote:
[root@poseidon php]# /usr/local/lsws/fcgi-bin/lsphp5 -i | egrep -i 'apc|xcache|eaccelarator'
with XCache v1.3.2, Copyright (c) 2005-2011, by mOo
...
However, your fcgi-bin/lsphp5 uses a copy of php.ini with *NO* "extension=xcache.so" (xcache not enabled). that's why 'fcgi-bin/lsphp5 -v' shows no xcache. To find out which php.ini your lsphp5 uses, do following.
Quote:
/usr/local/lsws/fcgi-bin/lsphp5 -i| grep php.ini
So in your case, lsphp5 doesn't not have xcache enabled.
Reply With Quote