PDA

View Full Version : Setup Memcached


fanhockeycoach
09-19-2012, 08:29 PM
How do I set up memcached?

--------------- Added 1348095567 at 1348095567 ---------------

I installed memcached-1.4.15 from http://memcached.org and uploaded it to public_html folder. I then added the following code to config.php

// ****** DATASTORE CACHE CONFIGURATION *****
// Here you can configure different methods for caching datastore items.
// vB_Datastore_Filecache - for using a cache file
// $config['Datastore']['class'] = 'vB_Datastore_Filecache';
// 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';
// $config['Misc']['memcacheserver'] = '127.0.0.1';
// $config['Misc']['memcacheport'] = '11211';

Did I do this right or am I missing something?

fanhockeycoach
09-21-2012, 08:51 PM
Can anyone see if I did this right?

fanhockeycoach
09-23-2012, 01:29 AM
Please help my site is crashing again.