#49401 [NEW]: Semaphore files are being created in / by default

From: Date: Fri, 28 Aug 2009 17:56:01 +0000
Subject: #49401 [NEW]: Semaphore files are being created in / by default
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-141667@lists.php.net to get a copy of this message
From: nathan at gossamer-threads dot com Operating system: Gentoo PHP version: 5.2.10 PHP Bug Type: Session related Bug description: Semaphore files are being created in / by default Description: ------------ As of 5.2.10 it seems that the semaphore files are being created in / instead of the usual /tmp. Uncommenting the default session.save_path of /tmp in the php.ini fixes it. Reproduce code: --------------- nathan@ndb3 ~ $ php --version PHP Warning: PHP Startup: mm_create(0, /session_mm_cgi-fcgi1005) failed, err mm:core: failed to open semaphore file (Permission denied) in Unknown on line 0 PHP 5.2.10 (cgi-fcgi) (built: Aug 28 2009 10:23:30) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies -- Edit bug report at http://bugs.php.net/?id=49401&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=49401&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=49401&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=49401&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=49401&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49401&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=49401&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=49401&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=49401&r=needscript Try newer version: http://bugs.php.net/fix.php?id=49401&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=49401&r=support Expected behavior: http://bugs.php.net/fix.php?id=49401&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=49401&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=49401&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=49401&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=49401&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=49401&r=dst IIS Stability: http://bugs.php.net/fix.php?id=49401&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=49401&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=49401&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=49401&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=49401&r=mysqlcfg

« previous php.bugs (#141667) next »