Derick Rethans wrote:

> Hello,
> 
> in your code you can easily do this:
> 
> #ifndef HAVE_PHP_SESSION
> #error: no session support in this PHP build
> #endif
> 
> there is no need to get rid of --disable-session then


It is okay to compile without session module.

> 
> 
> I only wonder how exactly do you build that pgsql_session handler, and how
> is it supposed to be enabled in PHP, as a .so object?


Problem is in loading *.so file at start up.
Session module is designed to provide globals
for sub modules, if session module is not compiled
in and user load sub module, it spits "undefined
symbol" error at start up.
Runtime "undefined symbol" error for perfectly valid
php.ini (or config) is design flaw, IMHO :)

There are other issue for loading sub modules. Since session
module was normal (i.e. not a internal module), sub module
could be initilized before session module.

However, session module is internal module and
initilized always before normal module, IIRC. It makes
external session save handler useless with current
session module code :(
(We need smart ini parser & module loader, also :)

--
Yasuo Ohgaki

> 
> Derick
> 
> 
> On Wed, 26 Dec 2001, Yasuo Ohgaki wrote:
> 
> 
>>Hi all,
>>
>>I keep posting about "undefiend symbol" error with sub module
>>at start up
>>
>>Since, session is internal module now. How about get rid of
>>--disable-session option from configure?
>>
>>This prevents "undefined symbol" error at runtime. This does
>>not solve sub module related issues, though...
>>
>>--
>>Yasuo Ohgaki
>>
>>
>>--
>>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]
>>
>>
> 



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