Session problem when upgrading from 4 to 5.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux