ID:               36473
 Comment by:       nospam at fidk dot com
 Reported By:      punkpuke at terraimpetus dot com
 Status:           No Feedback
 Bug Type:         Apache2 related
 Operating System: Windows XP Pro
 PHP Version:      4.4.2
 New Comment:

Get the same problem (PHP crashes) with fopen as well as file and
file_get_contents.  Under 4.2.2.  Try this code:

<?php
    $host = 'weather.aero';
    $location =  
"/dataserver0_9/httpparam?dataSource=airsigmets&requestType=retrieve&format=xml&minLat=25&minLon=-130&maxLat=65&maxLon=-40&hoursBeforeNow=3";


   $pirepUrl = "http://".$host.$location;
   $fd = fopen($pirepUrl, "rb");

   echo("Done");


?>


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

[2006-03-16 15:07:48] jaroslav dot povolny at gmail dot com

I have just installed back 4.4.1 version and the bug disappeared. It is
definetelly 4.4.2 bug, it is somewhere in file() or file_get_contents().
Platform: Windows XP

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

[2006-03-16 15:03:45] jaroslav dot povolny at gmail dot com

I am getting the same error without Apache environment when using
function file_get_contents() and file() with http protocol... I think
it is connected

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

[2006-03-01 01:00:03] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

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

[2006-02-27 21:33:42] stitched at mindspring dot com

I can confirm that this problem is fixed with 5.1.2.  I didn't see a
backtrace version for 4.4.2 so was unable to get one.  But something is
certainly broken in 4.4.2.

Dave

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

[2006-02-27 17:16:40] stitched at mindspring dot com

This also happens with Apache 1.3.33 and 2.0.54 consistently with 4.4.2
on Windows 2000.  Will try to get a backtrack but given where and when
it's crashing it may not work.

Dave

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/36473

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

Reply via email to