#49427 [Opn->Bgs]: Using directory split on session path causes startup warnings
| From: | jani@php.net | Date: | Mon, 31 Aug 2009 19:35:25 +0000 |
| Subject: | #49427 [Opn->Bgs]: Using directory split on session path causes startup warnings | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-141771@lists.php.net to get a copy of this message | ||
ID: 49427
Updated by: jani@php.net
Reported By: phpbugs at delinked dot net
-Status: Open
+Status: Bogus
Bug Type: Session related
Operating System: Gentoo 2.0.1 Linux 2.6.30
PHP Version: 5.2.10
New Comment:
The split paths are not very useful when using anything else but files
as session.save_handler. There's no bug here.
Previous Comments:
------------------------------------------------------------------------
[2009-08-31 19:09:47] phpbugs at delinked dot net
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 this bug report at http://bugs.php.net/?id=49427&edit=1