Separate names with a comma.
Discussion in 'Bug Reports' started by bhanuprasad1981, Oct 19, 2010.
i am getting this error to fix this i need to edit php.ini xacache size , but where to find it
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
check phpinfo(), the value of "Configuration File (php.ini) Path"
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 .
check phpinfo() again, if xcache is there.
if it's not there, check extension_dir, and check if
yes its there and value is 30m
see screenshot and please guide
php suExec enabled or not ?
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
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 :-
also i saw php.ini location is still default one is this ok ?
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?
customers vb script throws this error when he tried to use xcache