|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11949 Failed to write session ..... open(/tmp..) failed.
Submitted: 2001-07-07 16:29 UTC Modified: 2010-12-20 15:16 UTC
From: tvirag at interbaun dot com Assigned:
Status: Not a bug Package: Session related
PHP Version: 4.0.6 OS: Windows 98 SE
Private report: No CVE-ID: None
 [2001-07-07 16:29 UTC] tvirag at interbaun dot com
Warning: open(/tmp\sess_5b9c005c594b13dd0c7a54e9c84721ca, O_RDWR) failed: No such file or directory (2) in c:\apache\htdocs\ep\test1.php on line 3

People reporting this error all over, but I can not find the solution.

This error happens with "session_start()". The session.save_path is set corretly in php.ini, but it get ignored by PHP.

Please help me how to ovecome on this problem. I have to use session functions in my applications.

Thank you
Tamas Virag


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-07 17:45 UTC]

it has both a slash and a backslash, check your php.ini

For asking questions, you should have gone to (php-general mailinglist)
 [2004-07-01 21:43 UTC] j at j dot com
the quickest solution I found: create a directory in the root of the c:/ drive called '/tmp'

 [2010-12-20 15:16 UTC]
-Package: Any +Package: Session related
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sat Jul 31 13:01:25 2021 UTC