Re: [PHP4BETA] sapi_xxx_module()

From: Date: Sat, 28 Aug 1999 12:49:25 +0000
Subject: Re: [PHP4BETA] sapi_xxx_module()
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-3807@lists.php.net to get a copy of this message
On Sat, 28 Aug 1999, Sascha Schumann wrote: > On Sat, Aug 28, 1999 at 01:39:13PM +0200, Zeev Suraski wrote: > > At 10:44 28/08/99 , Sascha Schumann wrote: > > > I need something which is called way before per module inits. > > > If there is any other way, just tell me. It would be > > > especially useful, if the shutdown function would be actually > > > called at shutdown time. > > > > Did you guys think this whole business through? > > I'm talking about session support. We don't deal with zvals > or other PHP internal structures. > > Stig was on another trip, I suppose. ;-) Definitely. Zeev, what Sascha is talking about is using a library (MM) that provides shared memory and at the same time solves all the synchronization problems. The only portability problem I see here is that the SAPI function Sascha added may not be implementable with all server APIs. If this is the case, I think we should add macros to SAPI that say what they support, such as SAPI_PRE_FORK_START_HOOK, SAPI_PROCESS_START_HOOK etc. - Stig

« previous php.version4 (#3807) next »