#43564 [Opn->Fbk]: Using session_save_path('2;0777;/some/path') does not persist through script
ID: 43564
Updated by: jani@php.net
Reported By: fxbois at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: Session related
Operating System: rhas 3
PHP Version: 5.2.5
New Comment:
Do you by any chance try changing PHP ini values using
php_value/php_admin_value in httpd.conf or .htacces files?
Previous Comments:
------------------------------------------------------------------------
[2007-12-14 09:47:19] fxbois at gmail dot com
Sorry,
it has taken more time but PHP still ignore session_save_path() after
"some" time.
What can I test ?
I give you more information about my system
- Red Hat Enterprise Linux ES release 3 (Taroon Update 8)
- apache 2.0.46
------------------------------------------------------------------------
[2007-12-13 00:18:22] iliaa@php.net
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
------------------------------------------------------------------------
[2007-12-12 09:34:25] fxbois at gmail dot com
PHP 5.2.6-dev seems to correct the bug.
It can be a pretty serious security problem (session files end in a bad
directory). I hope you will release a new version soon.
Could you explain in a few words what bugs have you resolved which
linked to the sessions ?
------------------------------------------------------------------------
[2007-12-12 09:18:30] fxbois at gmail dot com
When I restart apache ... session_save_path() returns /tmp/session
which is normal
------------------------------------------------------------------------
[2007-12-11 16:08:20] iliaa@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows (zip):
http://snaps.php.net/win32/php5.2-win32-latest.zip
For Windows (installer):
http://snaps.php.net/win32/php5.2-win32-installer-latest.msi
Works fine here.
What is the return value of session_save_path() on the first call?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/43564
--
Edit this bug report at http://bugs.php.net/?id=43564&edit=1
Thread (7 messages)