|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4786 php 4.0.0 crashed after session_register if session.save_path is not writable
Submitted: 2000-06-02 19:03 UTC Modified: 2000-07-11 05:25 UTC
From: kai dot morich at dignos dot com Assigned:
Status: Closed Package: Session related
PHP Version: 4.0.0 Release OS: Win 98
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: kai dot morich at dignos dot com
New email:
PHP Version: OS:


 [2000-06-02 19:03 UTC] kai dot morich at dignos dot com
if session.save_pathin php.ini is set to something like c:\temp  a simple script returns following output if executed like 'php.exe demo.php', then crashes
> X-Powered-By: PHP/4.0.0
> Set-Cookie: PHPSESSID=c83de3a1ecdad212a0bf745ed516e43e
> Expires: Thu, 19 Nov 1981 08:52:00 GMT
> Cache-Control: no-cache, post-check=0, pre-check=0
> Pragma: no-cache
> Content-type: text/html
> <br>
> <b>Warning</b>:  open(\temp/sess_c83de3a1ecdad212a0bf745ed516e43e, O_RDWR) faile
> d: m (2) in <b>reg.php</b> on line <b>3</b><br>

if session.save_path is set to a relative path it works, but my htdocs-directory gets garbeled with temporary files


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-11 05:25 UTC] sas at cvs dot php dot net
This should not happen anymore. Please upgrade to the latest version. Thank you for your report.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sun Apr 02 08:03:37 2023 UTC