php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25576 mm sessions don't work: mm_malloc error
Submitted: 2003-09-17 13:40 UTC Modified: 2003-09-17 15:29 UTC
From: janp at eecs dot berkeley dot edu Assigned:
Status: Not a bug Package: Session related
PHP Version: 4.3.3 OS: redhat as 2.1
Private report: No CVE-ID: None
 [2003-09-17 13:40 UTC] janp at eecs dot berkeley dot edu
Description:
------------
Using mm 1.3.0 (not the OS default), php 4.3.3 on redhat advanced server 2.1.  In php.ini have session.save_handler = mm.  When try to start a session, get 
"Unknown(): mm_malloc failed, avail 0, err mm:core: Failed to lock (Permission denied) in *Unknown* on line *0**"

configure:
./configure \
"--prefix=/opt/php-4.3.3" \
"--with-apxs=/opt/apache_1.3.28/sbin/apxs" \
"--disable-path-info-check" \
"--with-config-file-path=/opt/httpd/etc" \
"--disable-short-tags" \
"--with-openssl" \
"--with-ldap" \
"--with-oci8=/u01/app/oracle/product/9.2.0.1.0" \
"--with-mm=/opt/mm-1.3.0" \
"--enable-sigchild" \
"--with-mysql=no"

It looks like this problem has been reported before, but is supposed
to be fixed by using the latest php and latest mm, which I am.


Reproduce code:
---------------
<?php
session_start();
?>


Expected result:
----------------
No error messages.

Actual result:
--------------
Error message given above: mm_malloc failed

Patches

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-09-17 15:29 UTC] iliaa@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

You do not have permission to set semaphores needed for mm session handler.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Aug 19 08:01:29 2024 UTC