#43564 [NEW]: session_save_path ignored
From: fxbois at gmail dot com
Operating system: rhas 3
PHP version: 5.2.5
PHP Bug Type: Session related
Bug description: session_save_path ignored
Description:
------------
Hi,
I just realised that sometime the function session_save_path() stops
working. I set the session_path with session_save_path() and just a few
lines after the session_path contains the value setted in php.ini.
But one more time, it is not always the case.
Menawhile, each time I restart apache, the session_path is good again
during some minutes (or hours) ...
It seems that the bug appeared with 5.2.5 ...
TIA
Reproduce code:
---------------
$path = '2;0777;var/session';
session_save_path($path);
error_log(session_save_path());
Expected result:
----------------
2;0777;var/session
Actual result:
--------------
/tmp/session
--
Edit bug report at http://bugs.php.net/?id=43564&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=43564&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=43564&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=43564&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=43564&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=43564&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=43564&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=43564&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=43564&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=43564&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=43564&r=support
Expected behavior: http://bugs.php.net/fix.php?id=43564&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=43564&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=43564&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=43564&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=43564&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=43564&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=43564&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=43564&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=43564&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=43564&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=43564&r=mysqlcfg
Thread (7 messages)
- fxbois at gmail dot com