Quote:
Originally Posted by Yellow Slider
I have installed this modification, and nothing is changed..
how can I Be 100% that this modification is doing some thing? :\
Maybe I havn't installed it property , but there isn't anything to do, upload a file and to add a line in the config file..
what may be wrong?
config file -
PHP Code:
// Here you can configure different methods for caching datastore items.
// vB_Datastore_Filecache - for using a cache file
// $config['Datastore']['class'] = 'vB_Datastore_Filecache';
$config['Datastore']['class'] = 'vB_Datastore_XCache';
// vB_Datastore_Memcached - for using a Memcache server
// It is also necessary to specify the hostname or IP address and the port the server is listening on
//$config['Datastore']['class'] = 'vB_Datastore_Memcached';
//$i = 0;
// First Server
$i++;
$config['Misc']['memcacheserver'][$i] = '127.0.0.3';
$config['Misc']['memcacheport'][$i] = 11211;
$config['Misc']['memcachepersistent'][$i] = true;
$config['Misc']['memcacheweight'][$i] = 1;
$config['Misc']['memcachetimeout'][$i] = 1;
$config['Misc']['memcacheretry_interval'][$i] = 15;
class_datastore -
PHP Code:
}
return true;
}
}
// add class_datastore_xcache, enable it in config.php
require_once(DIR . '/includes/class_datastore_xcache.php');
/*======================================================================*\
|| ####################################################################
I've uploaded the class_datastore_xcache.php to /includes/class_datastore_xcache.php
|
I'm pretty sure you will want to comment out the $config['Misc']['memcache* lines if you want to switch to xcache.