From: phpbugs at delinked dot net Operating system: Gento0 2.0.1 Linux 2.6.30 PHP version: 5.2.10 PHP Bug Type: Session related Bug description: Using directory split on session path causes startup warnings
Description: ------------ When session.save_path is set to something like "3;/tmp/sessions", PHP spits out the following: PHP Startup: mm_create(0, 3;/tmp/sessions/session_mm_cli0) failed, err mm:core: failed to open semaphore file (No such file or directory) in Unknown on line 0 This is a PHP installed compiled manually from source, downloaded from PHP.net, and not from Gentoo Portage. The necessary paths under /tmp/sessions have been created with the script from ext/sessions. The warning is not presented when directory splitting is not used. During testing, no 3rd party extensions or patches were applied. Reproduce code: --------------- In the ini: session.save_path="3;/tmp/sessions" php -r 'echo "a line";' Expected result: ---------------- a line Actual result: -------------- PHP Warning: PHP Startup: mm_create(0, 3;/tmp/sessions/session_mm_cli0) failed, err mm:core: failed to open semaphore file (No such file or directory) in Unknown on line 0 a line -- Edit bug report at http://bugs.php.net/?id=49427&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=49427&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=49427&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=49427&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=49427&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49427&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=49427&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=49427&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=49427&r=needscript Try newer version: http://bugs.php.net/fix.php?id=49427&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=49427&r=support Expected behavior: http://bugs.php.net/fix.php?id=49427&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=49427&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=49427&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=49427&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=49427&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=49427&r=dst IIS Stability: http://bugs.php.net/fix.php?id=49427&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=49427&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=49427&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=49427&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=49427&r=mysqlcfg