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


Add a Patch

Pull Requests

Add a Pull Request


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-2023 The PHP Group
All rights reserved.
Last updated: Wed Nov 29 07:01:28 2023 UTC