Re: Memcache session handler

From: Date: Fri, 20 Oct 2006 09:10:04 +0000
Subject: Re: Memcache session handler
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-26118@lists.php.net to get a copy of this message
Hi Glenn, Glenn Richmond wrote:
This isn't actually part of the PECL project as I understand it. The PECL memcache project provides a PHP interface to using a memcache server. What I've developed is a memcache session handler that can be used via the php.ini file by: session.handler = memcache
That's exactly what you can do with an extension. Perhaps look at eAccelerator for an example: http://eaccelerator.net/browser/eaccelerator/trunk/session.c
As such, it's something that could (or perhaps should) be part of the main source tree. Is there a middle stage here? i.e. Can I provide it as an optional compile flag in the configure script?
I think PECL:memcache is the perfect place for such a session-handler. best regards Andreas

« previous php.internals (#26118) next »