From: gm at html dot it
Operating system: Windows 2000 Professional
PHP version: 4.4.2
PHP Bug Type: Filesystem function related
Bug description: Apache crashes using file() or fopen() with URLs
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 bug report at http://bugs.php.net/?id=36102&edit=1
--
Try a CVS snapshot (PHP 4.4):
http://bugs.php.net/fix.php?id=36102&r=trysnapshot44
Try a CVS snapshot (PHP 5.1):
http://bugs.php.net/fix.php?id=36102&r=trysnapshot51
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=36102&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=36102&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=36102&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=36102&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=36102&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=36102&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=36102&r=support
Expected behavior: http://bugs.php.net/fix.php?id=36102&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=36102&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=36102&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=36102&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36102&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=36102&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=36102&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=36102&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=36102&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=36102&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=36102&r=mysqlcfg