php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3797 Saving sessions in shared memory doesn't work
Submitted: 2000-03-10 10:43 UTC Modified: 2000-03-27 04:45 UTC
From: karajannis at gmd dot de Assigned:
Status: Closed Package: Session related
PHP Version: 4.0 Latest CVS (10/03/2000) OS: Solaris 7
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: karajannis at gmd dot de
New email:
PHP Version: OS:

 

 [2000-03-10 10:43 UTC] karajannis at gmd dot de
I have compiled php4 with session support for shared memory via mm library (1.0.12).
Setting the configuration variable session.save_handler to "mm" leads to the following error message:

PHP Fatal error:  Failed to initialize session module ...

when calling session_register("var").
Apache subsequently SegVs

Sessions work with the standard "file" handler

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-03-13 14:29 UTC] kara at cvs dot php dot net
Narrowed down the problem to PHP_GINIT_FUNCTION(ps_mm), 
ext/session/mod_mm.c:200 not being called.
Thus, the session cache doesn't get initialized. 
 [2000-03-27 04:45 UTC] kara at cvs dot php dot net
Fixed in cvs
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Thu Aug 11 05:05:45 2022 UTC