Bug #14612 Updated: session save handler module uses php_session_register_module() does not work.
| From: | yohgaki@php.net | Date: | Mon, 07 Jan 2002 01:07:41 +0000 |
| Subject: | Bug #14612 Updated: session save handler module uses php_session_register_module() does not work. | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-76107@lists.php.net to get a copy of this message | ||
ID: 14612
Updated by: yohgaki
Reported By: yohgaki@php.net
Old Status: Critical
Status: Closed
Bug Type: Session related
Operating System: Linux
PHP Version: 4.0CVS-2001-12-19
New Comment:
Fixed in 4.2.0-dev
Previous Comments:
------------------------------------------------------------------------
[2001-12-20 03:42:11] derick@php.net
Move the stuff in MINIT to GINIT, and it shold work again.
I was looking into that, but forgot it afterwards.
Derick
------------------------------------------------------------------------
[2001-12-19 23:50:37] yohgaki@php.net
My description is not correct.
There is a way to use external session save handler module.
i.e. session_module_name()
------------------------------------------------------------------------
[2001-12-19 22:01:10] yohgaki@php.net
Addiotinal info:
Since session module is initilized at first, there is no way to register
external session module. This is critical, I think.
Changed status = Critical.
------------------------------------------------------------------------
[2001-12-19 21:46:07] yohgaki@php.net
Ok. I found the reason and can fix it now.
It try to find session module *before* registering.
I guess it is due to module initilization order has been changed.
(I could use mm module at leat with 4.0.6, IIRC).
Questin is:
Should it be fixed in session module or
module initilization order should be fixed...
------------------------------------------------------------------------
[2001-12-19 21:10:21] yohgaki@php.net
Starting httpd: Unknown(0) : Fatal error - Cannot find save handler mm
/usr/sbin/apachectl startssl: httpd started
'./configure' \
'--with-apxs' \
'--without-mysql' \
'--without-pear' \
'--enable-debug' \
'--with-mm' \
"$@"
php.ini
session.save_handler=mm
files and user modules works, since they are statically defined in
ps_modules.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=14612&edit=1