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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 20:01:28 2024 UTC