ufshane
Customer
I am getting this error: Warning: xcache_get() [function.xcache-get]: xcache.var_size is either 0 or too small to enable var data caching in [path]/dbtech/vboptimise/includes/operators/xcache.php on line 21
I have looked everywhere on how to set the var size but I cannot find it. My php.ini file shows that it is zero even when I added
[xcache-common]
zend_extension = /usr/local/lib/php/extensions/no-debug-non-zts-20020429/xcache.so
; required for >=php5.1 if you turn XCache on
auto_globals_jit = Off
[xcache.admin]
xcache.admin.user = "admin"
; paste the output of md5("password") below
xcache.admin.pass = "***"
[xcache]
xcache.shm_scheme = "mmap"
xcache.size = 140M
xcache.count = 2
xcache.slots = 1K
xcache.readonly_protection = Off
xcache.mmap_path = "/dev/zero"
xcache.stat = On
xcache.cacher = On
xcache.ttl = 3600
xcache.gc_interval = 300
; same as aboves but for variable cache
xcache.var_size = 2M
xcache.var_count = 2
xcache.var_slots = 1K
; default ttl
xcache.var_ttl = 3600
xcache.var_maxttl = 7200
xcache.var_gc_interval = 300
I have removed the password above...
No matter what I do I can now no longer make any changes in the admincp as that error comes up.
I have also tried everything I could find here on the site
I have looked everywhere on how to set the var size but I cannot find it. My php.ini file shows that it is zero even when I added
[xcache-common]
zend_extension = /usr/local/lib/php/extensions/no-debug-non-zts-20020429/xcache.so
; required for >=php5.1 if you turn XCache on
auto_globals_jit = Off
[xcache.admin]
xcache.admin.user = "admin"
; paste the output of md5("password") below
xcache.admin.pass = "***"
[xcache]
xcache.shm_scheme = "mmap"
xcache.size = 140M
xcache.count = 2
xcache.slots = 1K
xcache.readonly_protection = Off
xcache.mmap_path = "/dev/zero"
xcache.stat = On
xcache.cacher = On
xcache.ttl = 3600
xcache.gc_interval = 300
; same as aboves but for variable cache
xcache.var_size = 2M
xcache.var_count = 2
xcache.var_slots = 1K
; default ttl
xcache.var_ttl = 3600
xcache.var_maxttl = 7200
xcache.var_gc_interval = 300
I have removed the password above...
No matter what I do I can now no longer make any changes in the admincp as that error comes up.
I have also tried everything I could find here on the site