[EMAIL PROTECTED] wrote:

> On Sat, 22 Dec 2001, Yasuo Ohgaki wrote:
> 
> 
>>Anyone 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
> 
> 

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.com


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to