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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
35 + 22 = ?
Subscribe to this entry?

 
 [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: Fri Apr 26 17:01:30 2024 UTC