Ticket #228 (closed defect: wontfix)
var cache doesn't work for php cli
| Reported by: | binBASH | Owned by: | moo |
|---|---|---|---|
| Priority: | critical | Milestone: | undecided |
| Component: | cacher | Version: | 1.3.1 |
| Keywords: | Cc: | vitalif@… | |
| Blocked By: | PHP Version: | 5.3.3 | |
| Application: | Need User Feedback: | no | |
| Other Exts: | SAPI: | Others | |
| Probability: | Always | Blocking: |
Description
I'm getting notices like this:
PHP Warning: xcache_isset(): xcache.var_size is either 0 or too small to enable var data caching in /srv/httpd/www.livenue.ch
Tried to adjust the var cache variables, but nothing changes.
In phpinfo it says xcache is enabled.
/opt/www/php/bin/php -v output shows:
PHP 5.3.0 (cli) (built: Sep 17 2009 15:25:16)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2009 Zend Technologies
with XCache v1.3.0, Copyright (c) 2005-2009, by mOo
I dunno if the opcode cacher works as well.
When I run xcache admin scripts with php cli the tables are empty.
Tried to do a print_r($cacheinfos); but the array was empty.
uname -a output:
Linux stopovr 2.6.18-128.2.1.el5.028stab064.7 #1 SMP Wed Aug 26 15:47:17 MSD 2009 x86_64 x86_64 x86_64 GNU/Linux

