#36102 [Opn->Csd]: Apache crashes using file() or fopen() with URLs

From: Date: Fri, 20 Jan 2006 14:34:48 +0000
Subject: #36102 [Opn->Csd]: Apache crashes using file() or fopen() with URLs
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-92286@lists.php.net to get a copy of this message
 ID:               36102
 Updated by:       tony2001@php.net
 Reported By:      gm at html dot it
-Status:           Open
+Status:           Closed
 Bug Type:         Filesystem function related
 Operating System: Windows 2000 Professional
 PHP Version:      4.4.2
 New Comment:

This bug has been fixed in CVS.

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/.
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:
------------------------------------------------------------------------

[2006-01-20 15:30:14] gm at html dot it

Description:
------------
Apache crashes when using file(), or file_get_contents() or fopen()
with a URL (allow_url_fopen enabled in php.ini, of course).

I got back to php 4.4.1 and the everything works fine

Reproduce code:
---------------
<?php

$file = file_get_contents('http://www.site.ltd/image.jpg');

echo strlen($file);

?>

Expected result:
----------------
The size of the file

Actual result:
--------------
Apache crashes (no error in error.log)


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=36102&edit=1


Thread (2 messages)

« previous php.bugs (#92286) next »