xcache var size 0

#3
hello , i know what settings i need to change,but where to find litespeed php.ini ,everything works fine in apache, i get error in litespeed only , so i assume litespeed uses some different php.ini
 
#5
i see same path of apache "/usr/local/lib/php.ini

there xcache var size is already 30m :(

xcache is actually compiled in apache, i coped same configuration to litespeed using litespeed option "build matching php binary" option .
 
#10
it may be almost useless to use xcache var under php suExec

opcode cache is associated with a php process, web server start/stop the php process dynamically. 2 consecutive requests from a user may be served by different php process. that means cached var in previous request can't be referenced in current request.

if php process fork sub process, then cached var can be shared between these parent/child process. otherwise, cache can't be shared between php process -- not say it's impossible in principle, but it's the status of current top 3 implementation of opcode cache: APC, eAccelerator, XCache
 
#11
ok , i disabled suexec and i need xcache , weirdly phpinfo shows xcache is loaded but still i get var size issue even it is more than 30m here is my phpinfi url :-

Code:
10gb.in/phpinfo.php
also i saw php.ini location is still default one is this ok ?
 

NiteWave

Administrator
#12
no problem of php.ini location.

"still i get var size issue" -- where did the error message come from? web server log or any other log?
 
Top