|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17821 "Failed to write session data" Errors
Submitted: 2002-06-18 17:43 UTC Modified: 2002-07-19 01:00 UTC
Avg. Score:2.3 ± 1.9
Reproduced:2 of 3 (66.7%)
Same Version:1 (50.0%)
Same OS:0 (0.0%)
From: ricky at electricarrow dot com Assigned:
Status: No Feedback Package: Session related
PHP Version: 4.2.1 OS: Linux 2.2.14 (RH 6.2)
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.
Block user comment
Status: Assign to:
Bug Type:
From: ricky at electricarrow dot com
New email:
PHP Version: OS:


 [2002-06-18 17:43 UTC] ricky at electricarrow dot com
After upgrading to PHP 4.2.1 on my Linux 2.2.14 box, I've started to receive this error by the hundreds in my logs:

Jun 17 11:37:35 www httpd: PHP Warning:  Failed to write session data (files). Please verify that the current sett
ing of session.save_path is correct (/tmp) in Unknown on line 0

Now these errors did not appear with PHP 4.0.6.  Now I know that sessions are still working since I registered some values and found them by grepping /tmp.  And most of my PHP sites would not be working if sessions weren't working. And yes, I've checked that:

-The apache user has permission to read/write to /tmp
-There is enough space on my partition.

I've done some searching and found a few other Linux users with the same problem, so I'm wondering if this is a PHP bug.



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-18 18:04 UTC]
I think this was fixed in CVS..please try this snapshot:

 [2002-07-19 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Jul 19 03:01:27 2024 UTC