#49658 [NEW]: Default save.session_path and mm_create() warning
From: jeff at macloue dot com
Operating system: Slackware 13.0
PHP version: 5.2.11
PHP Bug Type: Session related
Bug description: Default save.session_path and mm_create() warning
Description:
------------
php -n throws a warning:
PHP Warning: PHP Startup: mm_create(0, /session_mm_cli1000) failed, err
mm:core: failed to open semaphore file (Permission denied) in Unknown on
line 0
Expected result:
----------------
This bug was previously submitted as #49401. Despite marked bogus it can
be very annoying and also it doesn't seem logical to make the default
built-in configuration to throw a warning on most/all the platforms.
I also did some investigation on that libmm used by PHP session extension
and found that creating the semaphore file is not a must on many platforms
but it is kind of recommended and fail-safe way. I don't see any big
trouble if libmm's semaphores are created in $TMP or /tmp directory instead
of "blank" - at least it will make PHP _safer_ on many platforms without
adding much risks. Of course the best way imho will be to make some
./configure switch for setting default session.save_path value or smth like
that.
--
Edit bug report at http://bugs.php.net/?id=49658&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=49658&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=49658&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=49658&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=49658&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49658&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=49658&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=49658&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=49658&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=49658&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=49658&r=support
Expected behavior: http://bugs.php.net/fix.php?id=49658&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=49658&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=49658&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=49658&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=49658&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=49658&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=49658&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=49658&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=49658&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=49658&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=49658&r=mysqlcfg
Thread (3 messages)
- jeff at macloue dot com