|  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
43 + 16 = ?
Subscribe to this entry?

 [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 10:03:46 2023 UTC