I am trying to setup XCache to run on my forum.
I am on my own server and installed XCache via WHM's EasyApache.
I then changed my includes/config.php to have the following in it:
Code:
$config['Datastore']['class'] = 'vB_Datastore_XCache';
I also see that in my php.ini, XCache has the following settings:
Code:
extension="xcache.so"
xcache.admin.enable_auth="on"
xcache.admin.pass=""
xcache.admin.user="mOo"
xcache.cacher="On"
xcache.coredump_directory=""
xcache.count="1"
xcache.coveragedump_directory="/tmp/pcov/"
xcache.coverager="Off"
xcache.gc_interval="0"
xcache.mmap_path="/dev/zero"
xcache.optimizer="Off"
xcache.readonly_protection="Off"
xcache.size="0"
xcache.slots="8K"
xcache.test="Off"
xcache.ttl="0"
xcache.var_count="1"
xcache.var_gc_interval="300"
xcache.var_maxttl="0"
xcache.var_size="0"
xcache.var_slots="8K"
xcache.var_ttl="0"
I get the following error:
Code:
Fatal error: Storing of variables is not enabled within XCache in [path]/includes/class_datastore.php on line 533
Also, I did set a unique datastore prefix in my config.php. I am guessing that my xcache settings in my php.ini are off...or maybe something else is up?
I'm on vB 4.2.1 and not sure how to proceed. I would like to see the benefits of XCache but as soon as I switch to XCache in my config.php I get this error.
Could anyone help out please? I'm on my own box so can change settings as needed.
Thank you.