php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15359 php crashes if temp dir does not exist
Submitted: 2002-02-03 16:16 UTC Modified: 2002-08-19 11:33 UTC
From: b dot terhorst at student dot hro dot nl Assigned:
Status: Closed Package: Session related
PHP Version: 4.1.1 OS: winxp pro
Private report: No CVE-ID: None
 [2002-02-03 16:16 UTC] b dot terhorst at student dot hro dot nl
When the directory for temporary files (sessions) set in php.ini does not exist, PHP crashes.

This is on 4.1.1 WindowsXP Pro with the CGI version.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-02-03 16:17 UTC] b dot terhorst at student dot hro dot nl
Oh.. The apache error log says:
Premature end of script headers.

Not a very good error message imo.
 [2002-02-03 16:19 UTC] jan@php.net
Yasuo Ohgaki fixed this in CVS some days ago
 [2002-02-03 19:27 UTC] yohgaki@php.net
Sorry, I've reverted the patch and I'm preparing new one and if it's ok, it will be applied. 

Please wait a few days.
 [2002-03-06 01:26 UTC] yohgaki@php.net
This bug has been fixed in CVS.


 [2002-08-19 11:33 UTC] iliaa@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Tue Jan 31 18:03:43 2023 UTC