[dev] Using Memcache with the new Horde_HashTable
Rui Carneiro
rui.carneiro at portugalmail.net
Wed May 22 22:47:48 UTC 2013
Ok, I think i will wait for the beta3 release :)
--
Rui Carneiro
Software Engineer*
*
*Portugalmail* | plataformas de inovação
*w.* http://www.portugalmail.net
On Wed, May 22, 2013 at 7:06 PM, Michael M Slusarz <slusarz at horde.org>wrote:
> Quoting Rui Carneiro <rui.carneiro at portugalmail.net**>:
>
> $conf['sessionhandler']['type'**] = 'Hashtable';
>> $conf['sessionhandler']['**hashtable'] = true;
>>
>
> This should be false (although this setting will internally be ignored by
> the factory). Otherwise you are telling the sessionhandler to cache
> hashtable data... in the hashtable. Which doesn't make sense.
>
>
> $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';
>>
>
> This all looks correct.
>
>
> Unfortunately i can't authenticate with the new configs and I have
>> no useful logs to help me debug this.
>>
>
> You should probably look at the recent changelog commits to HashTable.
> This one in particular:
>
> * [mms] Actually have HashTable return results for get() and exists().
>
> In other words - you need to either use git or wait for the next beta
> releases.
>
> michael
>
> ______________________________**_____
> Michael Slusarz [slusarz at horde.org]
>
> --
> dev mailing list
> Frequently Asked Questions: http://wiki.horde.org/FAQ
> To unsubscribe, mail: dev-unsubscribe at lists.horde.**org<dev-unsubscribe at lists.horde.org>
More information about the dev
mailing list