php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14507 sessions and mm produce an error on starting apache
Submitted: 2001-12-14 04:44 UTC Modified: 2002-02-17 18:25 UTC
From: adrieder at sbox dot tugraz dot at Assigned: yohgaki (profile)
Status: Closed Package: Session related
PHP Version: 4.1.1 OS: Sparc/Solaris 8
Private report: No CVE-ID: None
 [2001-12-14 04:44 UTC] adrieder at sbox dot tugraz dot at
I have a problem with sessions and mm on sparc/Solaris 8. When starting the apache I get the error:

PHP Fatal error:  Cannot find save handler mm in Unknown on line 0

in php_config.h:
/* Whether you have libmm */
#define HAVE_LIBMM 1

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-12-14 04:47 UTC] derick@php.net
Duplicate of #14496
 [2001-12-14 05:27 UTC] mfischer@php.net
More notes from user:

File /tmp/session_mm.sem has root:other 600 owner/perms; delting it will re-create it upon startup, error still there.
 [2001-12-14 06:05 UTC] sas@php.net
Please try a `make clean? and reinstall PHP. I'd appreciate it, if you could let us know whether that fixes your problem. Thanks
 [2001-12-14 07:38 UTC] adrieder at sbox dot tugraz dot at
I did a "make distclean" and a rebuild with the following options:

       ./configure\
        --with-mysql=/usr/local/mysql\
        --with-db3 \
        --enable-sysvsem\
        --enable-sysvshm\
        --with-mm=/usr/local\
        --with-openssl \
        --enable-track-vars\
        --enable-trans-sid\
        --enable-shmop\
        --with-gd \
        --with-jpeg-dir=/usr/local/lib \
        --with-png-dir=/usr/local/lib \
        --enable-inline-optimization \
        --enable-bcmath \
        --with-gettext \
        --with-mcrypt \
        --with-zlib \
        --disable-debug \
        --with-apxs=/usr/local/apache/bin/apxs

All this didn't solve the problem, I'm still getting:
PHP Fatal error:  Cannot find save handler mm in Unknown on line 0


 [2001-12-19 23:02 UTC] yohgaki@php.net
I created new report for this bug which explains why this happens.
Duplicate #14612

--
Yasuo Ohgaki
 [2001-12-31 11:06 UTC] adrieder at sbox dot tugraz dot at
The Problem still exists in PHP Version 4.1.1
any hints/solutions?
 [2002-01-02 17:14 UTC] yohgaki@php.net
4.1.x disply error.... I'm working on it now. It may be fixed in 4.1.2, if other develpers do not object my fix.

For now, set save handler to "files" and set handler to "mm" in your script using session_module_name() if you don't like to error message.
(It does not harm any, you can ignore error message)

 [2002-01-24 23:46 UTC] yohgaki@php.net
Fixed in CVS.
 [2002-02-17 14:26 UTC] rider at altlinux dot ru
bug on Linux with apache-1.3.23 and mod_php 4.1.1 (with last patches from cvs branch PHP_4_0_7):

[root@riderbook root]# ls -al /tmp/session_mm.sem
ls: /tmp/session_mm.sem: No such file or directory
[root@riderbook root]# service httpd start
Starting httpd:                                                                                                                                              [  OK  ]
[root@riderbook root]# ls -al /tmp/session_mm.sem
-rw-------    1 root     root            0 Feb 18 01:25 /tmp/session_mm.sem

and from user:
[rider@riderbook rider]$ php
Content-type: text/html

PHP Fatal error:  Unable to start session mm module in Unknown on line 0
 [2002-02-17 18:25 UTC] yohgaki@php.net
You have different problem. 
The fix will be commited when Sascha agrees with my patch.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 12:01:29 2024 UTC