[dev] Using Memcache with the new Horde_HashTable

Rui Carneiro rui.carneiro at portugalmail.net
Wed May 22 17:51:14 UTC 2013


I am kind of lost after all the changes on the cache configs
(horde-5.1.0beta2). My old installation was running Memcache with the
following configs:

$conf['sessionhandler']['type'] = 'Memcache';
$conf['sessionhandler']['memcache'] = true;
$conf['memcache']['hostspec'] = array('127.0.0.1');
$conf['memcache']['port'] = array('11211');
$conf['memcache']['weight'] = array();
$conf['memcache']['persistent'] = false;
$conf['memcache']['compression'] = false;
$conf['memcache']['large_items'] = true;
$conf['memcache']['enabled'] = true;

Now, with hashtable, i tried this:

$conf['sessionhandler']['type'] = 'Hashtable';
$conf['sessionhandler']['hashtable'] = true;
$conf['hashtable']['params']['hostspec'] = array('127.0.0.1');
$conf['hashtable']['params']['port'] = array('11211');
$conf['hashtable']['params']['weight'] = array();
$conf['hashtable']['params']['persistent'] = false;
$conf['hashtable']['params']['compression'] = false;
$conf['hashtable']['params']['large_items'] = true;
$conf['hashtable']['driver'] = 'Memcache';

Unfortunately i can't authenticate with the new configs and I have
no useful logs to help me debug this.

Any help would be appreciated :)


-- 
Rui Carneiro
Software Engineer*
*
*Portugalmail* | plataformas de inovação
*w.* http://www.portugalmail.net


More information about the dev mailing list