php.net |  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
 [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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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: Wed Feb 08 11:03:42 2023 UTC