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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 11:01:30 2024 UTC