PHP 4.0 Bug #5495: Failed to write session data
| From: | shufu at mail2000 dot com dot tw | Date: | Tue, 11 Jul 2000 02:23:13 +0000 |
| Subject: | PHP 4.0 Bug #5495: Failed to write session data | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-23982@lists.php.net to get a copy of this message | ||
From: shufu@mail2000.com.tw
Operating system: redhat 6.1/linux 2.2.16
PHP version: 4.0.1pl2
PHP Bug Type: Session related
Bug description: Failed to write session data
I recently tried to upgrade to php-4.0.1pl2, and the sessions does not work. The error_log :
--------------------------------------------
PHP Warning: Failed to write session data. Please check that the current settin
g of session.save_path is correct (/tmp/) in Unknown on line 0
<br>
<b>Warning</b>: Failed to write session data. Please check that the current set
ting of session.save_path is correct (/tmp/) in <b>Unknown</b> on line
<b>0</b><
br>
-------------------------------------------
But /tmp is the directory where php4.0.0 used to write its session data and it worked for php4.0.0 .
Anyone got the same problem with php4.0.1pl2 like I do?
And also I tried to use "/tmp" instead of "/tmp/" and it reports the same
warning... The permission on /tmp is exactly the same as it was when running php4.0.0.