Re: session_pgsql module commit notice
| From: | Yasuo Ohgaki | Date: | Tue, 25 Dec 2001 04:55:29 +0000 |
| Subject: | Re: session_pgsql module commit notice | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-74932@lists.php.net to get a copy of this message | ||
derick@php.net wrote:
On Sat, 22 Dec 2001, Yasuo Ohgaki wrote:There are serious issues... 1) Current ini parser does not understand module dependency. If module is loaded in php.ini, it can result in "undefined" symbol" error at *start* up. Even if php.ini works perfect for one config, but it does not for other config. 2) Current module loader does not understand module dependency. For example, session module fails to initialize child modules, since session module requires child module to be initialized before it is initialized. (e.g. mm, pgsql, msession save handlers fails to be initilized) 3) Since 1 and 2 is rahter hard to write code for it. Session module needs to be rewrote to work around these problems. The fix requires lots of lines of changes just to work around problem 2. Simplest workaround/solution is make child modules to be compiled *always* with its parent module. I proposed this *before* I commit pgsql session save handler to PECL, but it seems many people object this :( Another simple workaround/solution for current session module problem is make session module a normal module. (i.e. Not a internal module) Well designed software should *NOT* raise any undefined symbol error at start up IMHO. And problem 2) must be addressed ASAP even if it is not a real solution ;) -- Yasuo Ohgaki _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.comAnyone care to take benchmarks? (You need to wait a little more, since session module needed to be changed to work with pgsql session save handler)What should be fixed there? Derick