Re: cvs: php4 /main SAPI.c SAPI.h /sapi/apache mod_php4.c /sapi/thttpd thttpd.c

From: Date: Fri, 29 Nov 2002 20:09:39 +0000
Subject: Re: cvs: php4 /main SAPI.c SAPI.h /sapi/apache mod_php4.c /sapi/thttpd thttpd.c
References: 1 2 3 4 5 6 7 8  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-16764@lists.php.net to get a copy of this message
> > And what if we want to change the initialization? I think it's nice the way > > it was and gives us a chance to change defaults. I don't see any good > > reason for nuking this. > > > struct { > "apache", > "Apache", > php_apache_register_hooks > } apa_sapi_module; > > And a function > > void php_apache_register_hooks(TSRMLS_D) > { > sapi_register_module_startup(func_startup); > sapi_register_module_shutdown(func_shutdown); > /* etc */ > } > Another advantage to this approach is binary compatibility is much easier to maintain. -Sterling

« previous php.cvs (#16764) next »