Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26119 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 17466 invoked by uid 1010); 20 Oct 2006 09:20:37 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 17450 invoked from network); 20 Oct 2006 09:20:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Oct 2006 09:20:37 -0000 Authentication-Results: pb1.pair.com header.from=glenn.richmond@ilisys.com.au; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=glenn.richmond@ilisys.com.au; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain ilisys.com.au from 203.202.10.154 cause and error) X-PHP-List-Original-Sender: glenn.richmond@ilisys.com.au X-Host-Fingerprint: 203.202.10.154 mailx.ilisys.com.au Linux 2.6 Received: from [203.202.10.154] ([203.202.10.154:50534] helo=mailx.ilisys.com.au) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C5/4E-27040-3E498354 for ; Fri, 20 Oct 2006 05:20:37 -0400 Received: (qmail 22156 invoked from network); 20 Oct 2006 19:20:32 +1000 Received: from unknown (HELO ?127.0.0.1?) (203.202.11.226) by mailx.ilisys.com.au with SMTP; 20 Oct 2006 19:20:32 +1000 Message-ID: <453894DC.3000902@ilisys.com.au> Date: Fri, 20 Oct 2006 17:20:28 +0800 User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: Andreas Korthaus CC: internals@lists.php.net, Antony Dovgal References: <45385201.7020001@ilisys.com.au> <45388B4B.8000001@zend.com> <45388DB3.5050508@ilisys.com.au> <4538926C.9080800@web.de> In-Reply-To: <4538926C.9080800@web.de> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Memcache session handler From: glenn.richmond@ilisys.com.au (Glenn Richmond) Hi Andreas, Thanks for the suggestion - looks like a nice way to separate it from the main source tree. I'll look at this as an option also :) I think the one nice thing of integrating with the PECL memcache project would be re-using the memcache library backend, but will see how we go. Regards, Glenn. Andreas Korthaus wrote: > 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