|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37699 Apache crashes with fopen()
Submitted: 2006-06-05 10:42 UTC Modified: 2006-06-05 10:48 UTC
From: kim at steinhaug dot com Assigned:
Status: Not a bug Package: *URL Functions
PHP Version: 4CVS-2006-06-05 (snap) OS: Windows 2000
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: kim at steinhaug dot com
New email:
PHP Version: OS:


 [2006-06-05 10:42 UTC] kim at steinhaug dot com
When accessing the fopen() function with an URL starting with http:// apache crashes.

Previous bugs states that this has been fixed in CVS, but the latest snap still crashes.

First I upgraded to v4.4.2, I read alot of bugs and then I upgraded to the latest snap but the bug is still here.

Reproduce code:

$xhtml = '';
if($filehandle = @fopen($url, 'rb')) {
	$xhtml = fread($filehandle, 4096);

	echo "$xhtml";

Expected result:
the HTML of the URL

Actual result:
Apache crashes and restarts.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-06-05 10:48 UTC] kim at steinhaug dot com
Forgot to copy the new .dll into system32 folder... 

My bad, latest snap works like a charm!
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Feb 22 05:01:28 2024 UTC