php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14612 session save handler module uses php_session_register_module() does not work.
Submitted: 2001-12-19 21:10 UTC Modified: 2002-01-06 20:07 UTC
From: yohgaki@php.net Assigned:
Status: Closed Package: Session related
PHP Version: 4.0CVS-2001-12-19 OS: Linux
Private report: No CVE-ID: None
 [2001-12-19 21:10 UTC] 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-12-19 21:46 UTC] 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 22:01 UTC] 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 23:50 UTC] 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-20 03:42 UTC] 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
 [2002-01-06 20:07 UTC] yohgaki@php.net
Fixed in 4.2.0-dev
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Jun 30 16:01:29 2024 UTC