php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14496 session.save_handler = mm - error when apache starting
Submitted: 2001-12-13 17:17 UTC Modified: 2002-01-24 23:45 UTC
From: sitnikov at infonet dot ee Assigned:
Status: Closed Package: Session related
PHP Version: 4.1.0 OS: Linux
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sitnikov at infonet dot ee
New email:
PHP Version: OS:

 

 [2001-12-13 17:17 UTC] sitnikov at infonet dot ee
When i set save_handler in php.ini to 'mm and can start apache i can see "PHP Fatal error:  Cannot find save handler mm in Unknown on line 0" but session work properly and it use mm 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-12-13 18:06 UTC] derick@php.net
Add --with-mm to your configure line and then it should work. (This is not a bug> bogus).

Derick
 [2001-12-13 18:09 UTC] sitnikov at infonet dot ee
I have --with-mm in configuration line. 

CC=gcc2.95.3 \
CXX=gcc2.95.3 \
./configure \
--with-apxs=/usr/local/httpd/bin/apxs \
--prefix=/usr/local/php \
--with-config-file-path=/usr/local/php/etc \
--enable-inline-optimization \
--enable-track-vars \
--enable-magic-quotes \
--enable-safe-mode \
--enable-memory-limit \
--enable-sysvshm \
--enable-sysvsem \
--enable-shmop \
--enable-sockets \
--enable-wddx \
--enable-xslt \
--enable-ctype \
--enable-bcmath \
--enable-mailparse \
--enable-ftp \
--disable-mbstring \
--with-gd=/export/work/gd-1.8.4-gif \
--with-jpeg-dir=/export/work/jpeg-6b \
--with-png-dir=/export/work/libpng-1.0.9 \
--with-ttf=/export/work/freetype-1.3.1 \
--with-mysql=/usr/local/mysql \
--with-openssl=/usr/local/ssl \
--with-epipe \
--with-mcrypt \
--with-mhash \
--with-zlib \
--with-mm \
--with-xmlrpc \
--with-iconv \
--with-curl \
--with-bz2 \
--with-gmp  \
--with-ldap \
--with-xml  \
--with-zip  \
--with-gettext \
--with-dom \
--with-xslt-sablot \
"$@"
 [2001-12-13 18:13 UTC] derick@php.net
What does php_config.h say related to "HAVE_LIBMM" ?

Derick
 [2001-12-13 18:15 UTC] sitnikov at infonet dot ee
/* Whether you have libmm */
#define HAVE_LIBMM 1
 [2001-12-14 04:18 UTC] sitnikov at infonet dot ee
This is bug, not bogus. Pls change status.
 [2001-12-14 04:20 UTC] derick@php.net
What distribution are you using of Linux?
 [2001-12-14 06:03 UTC] sas@php.net
Try a make clean.
 [2001-12-14 06:24 UTC] sitnikov at infonet dot ee
RedHat 6.2 
#uname -a Linux 2.4.16 #1 SMP Sat Dec 8 18:14:02 EET 2001 i686 unknown

I repeat:
If i set save_handler to 'mm' in php.ini and start apache I see the error message BUT SESSION WORK WITH MM HANDLER
 [2001-12-19 22:56 UTC] yohgaki@php.net
I created new one reported by me which contains the reason why this happens. I make this report as duplicate of my report. #14612.


 [2001-12-20 04:09 UTC] sitnikov at infonet dot ee
Bug with ID 14612(this) can not be duplicate for bug with ID 14612 :)
 [2001-12-20 07:41 UTC] yohgaki@php.net
This is actually a duplicate of bug 
http://bugs.php.net/bug.php?id=14612

You got the same error message. This problem is caused by incorrect order of sub module initialization :)

If you use session_module_name(), mm handler works well :)
 [2002-01-24 23:45 UTC] yohgaki@php.net
CVS version does not print the error message.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Sep 18 14:01:27 2024 UTC