Session problem when upgrading from 4 to 5.
| From: | Matthijs Dijkstra | Date: | Tue, 28 Feb 2006 16:44:31 +0000 |
| Subject: | Session problem when upgrading from 4 to 5. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-231213@lists.php.net to get a copy of this message | ||
Hi,
Unfortunately it is not possible (for me) to initialise the 'session.save_path' directive
in PHP 5. Up to version 4.3.5. there was no problem and the directive was set to '/tmp'.
After upgrading to 5.0.2. and later to 5.1.2. I did not succeed in initialising the directive.
/usr/local/lib/php/php.ini:
session.save_path = "/tmp"
Configuration history related to the 'session.save_path' directive:
PHP Version 4.0.0 /tmp good
PHP Version 4.3.5 /tmp good
PHP Version 5.0.2 no value wrong
PHP Version 5.1.2 no value wrong
Checked with phpinfo().
I have checked the NEWS file and found two remarks concerning the save_path directive:
- Fixed bug #33072 (Add a safemode/open_basedir check for runtime
"session.save_path" change using session_save_path() function). (Rasmus)
- Fixed bug #33520 (crash if safe_mode is on and session.save_path is changed).
(Dmitry)
So my question is: Is it possible to define the directive 'session.save_path' in PHP 5 in
the php.ini file?
Matthijs Dijkstra