Quantcast
Viewing all articles
Browse latest Browse all 19300

Miz.Michele on "[Plugin: W3 Total Cache] Error Msg: XCache var cache was not initialized properly"

Well my error was that it wasn't initializing and I am not sure if I got any of the other errors but I know it was a mini nightmare for me. I am no expert on this but I will try to help. First what version of Php are using. I am using 5.3xFastCGI because some ppl had issues with 5.4. And you did check off the box for X-Cache support from the manage domains section, right?

Also I think this is the command to restart
/etc/init.d/httpd restart after you sign in via shell

No matter what I did I could not get it to initialize until I started changing some of the settings in the file. My setting are below so you might want to compare what you have and let me know if it's different.

; {{{ The following lines were automatically added by DreamHost
extension=xcache.so
; }}} That's all from DreamHost
memory_limit = 256M
max_execution_time=300
xcache]
; ini only settings, all the values here is default unless explained

; select low level shm/allocator scheme implemenation
xcache.shm_scheme =        "mmap"
; to disable: xcache.size=0
; to enable : xcache.size=64M etc (any size > 0) and your system mmap allows
xcache.size  =                64M
; set to cpu count (cat /proc/cpuinfo |grep -c processor)
xcache.count =                 2
; just a hash hints, you can always store count(items) > slots
xcache.slots =                8k
; ttl of the cache item, 0=forever
xcache.ttl   =                 0
; interval of gc scanning expired items, 0=no scan, other values is in seconds
xcache.gc_interval =           0

; same as aboves but for variable cache
xcache.var_size  =            100M
xcache.var_count =             1
xcache.var_slots =            8K
; default ttl
xcache.var_ttl   =             0
xcache.var_maxttl   =          0
xcache.var_gc_interval =     300

xcache.test =                Off
; N/A for /dev/zero
xcache.readonly_protection = Off
; for *nix, xcache.mmap_path is a file path, not directory.
; Use something like "/tmp/xcache" if you want to turn on ReadonlyProtection
; 2 group of php won't share the same /tmp/xcache

; leave it blank(disabled) or "/tmp/phpcore/"
; make sure it's writable by php (without checking open_basedir)
xcache.coredump_directory =   ""

; per request settings
xcache.cacher =               On
xcache.stat   =               On
xcache.optimizer =           On

[xcache.coverager]
; per request settings
; enable coverage data collecting for xcache.coveragedump_directory and xcache_$
xcache.coverager =          Off

; ini only settings
; make sure it's readable (care open_basedir) by coverage viewer script
; requires xcache.coverager=On
xcache.coveragedump_directory = ""

 log_errors = 1
 error_log = /home/<strong>yourusername</strong>/php.log

Viewing all articles
Browse latest Browse all 19300

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>