• Hello,

    I’ve tried to install Xcache for the first time on my bluehost, and I think I succeeded at it. My info.php shows xcache 3.0.1 installed. And I enabled the ‘Opcode: Xcache’ option in the w3 total cache. But I checked my error-log and it’s full of these messages given above. Any ideas?

    [15-Mar-2013 04:25:14] PHP Fatal error:  XCache: Cannot create shm in Unknown on line 0
    [15-Mar-2013 04:25:14] PHP Fatal error:  XCache: Cannot init in Unknown on line 0
    [15-Mar-2013 10:25:14] PHP Warning:  xcache_set() [<a href='function.xcache-set'>function.xcache-set</a>]: XCache var cache was not initialized properly. Check php log for actual reason in /***/public_html/photography/wp-content/plugins/w3-total-cache/lib/W3/Cache/Xcache.php on line 55

    I added this in php.ini and changed the extension_dir to home3/vigavers/modules

    extension = xcache.so
    xcache.shm_scheme = “mmap”
    xcache.size = 32M
    xcache.count = 8
    xcache.slots = 8K
    xcache.ttl = 0
    xcache.gc_interval = 0
    xcache.var_size = 16M
    xcache.var_count = 1
    xcache.var_slots = 8K
    xcache.var_ttl = 0
    xcache.var_maxttl = 0
    xcache.var_gc_interval = 300
    xcache.test = Off
    xcache.readonly_protection = Off
    xcache.mmap_path = “/dev/zero”
    xcache.coredump_directory = “”
    xcache.cacher = On
    xcache.stat = On
    xcache.optimizer = Off
    xcache.coverager = Off
    xcache.coveragedump_directory = “”

    http://wordpress.org/extend/plugins/w3-total-cache/

  • The topic ‘XCache var cache was not initialized properly’ is closed to new replies.