php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5495 Failed to write session data
Submitted: 2000-07-10 22:23 UTC Modified: 2000-08-01 14:19 UTC
From: shufu at mail2000 dot com dot tw Assigned:
Status: Closed Package: Session related
PHP Version: 4.0.1pl2 OS: redhat 6.1/linux 2.2.16
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: shufu at mail2000 dot com dot tw
New email:
PHP Version: OS:

 

 [2000-07-10 22:23 UTC] shufu at mail2000 dot com dot tw
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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-14 02:58 UTC] shufu at mail2000 dot com dot tw
I forgot to mention that we are running redhat 6.1 linux with apache 1.3.12 ...
 [2000-07-31 15:21 UTC] sas@php.net
This is probably an instance of a bug which has been fixed. Please try a snapshot:

http://snaps.php.net/
 [2000-08-01 14:19 UTC] shufu at mail2000 dot com dot tw
yes, it worked... and also it fixed a problem I reported ( bug ID# 5494 ). thanks a lot sas! appreciated...
just wondering when is 4.0.2 gonna be released?
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 07:01:32 2024 UTC