php.net |  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
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: tvirag at interbaun dot com
New email:
PHP Version: OS:

 

 [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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-07 17:45 UTC] jeroen@php.net
open(/tmp\sess_5b9c005c594b13dd0c7a54e9c84721ca

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

For asking questions, you should have gone to http://www.php.net/support.php (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'

-josh
 [2010-12-20 15:16 UTC] jani@php.net
-Package: Any +Package: Session related
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Tue May 21 01:01:27 2019 UTC