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

 ID:               36473
 Comment by:       nooshin dot ha at gmail dot com
 Reported by:      punkpuke at terraimpetus dot com
 Summary:          Foreign Images w/getimagesize() crash Apache2
 Status:           Closed
 Type:             Bug
 Package:          Apache2 related
 Operating System: Windows XP Pro
 PHP Version:      4.4.2

 New Comment:

well, I think I solved the problem by myself! we defined a sub domain
for our images (e.g images.example.com) and we address the images to the
function with this url-base method! I changed it to directory-base like
this "/images/"and it works fine!!! however I used linux server ...


Previous Comments:
------------------------------------------------------------------------
[2010-07-07 08:01:38] nooshin dot ha at gmail dot com

I have the same problem! even though there is sentence at the bottom of
this page which claims the problem has been solved! I PHP 5.2.8 and
Apache 2! as soon as I deactivate the part of code which uses the
get_image_size function everything's ok! but if I let it run, Apaches
crash and MySQL returns hundreds of Null Sleep State queries because it
can not connect to Apache!

I wanna know what PHP & Apache version support the function with out
problem?



P.S: unfortunately due to Apache crash, the log file doesn't return any
error..

------------------------------------------------------------------------
[2006-04-05 06:37:33] tony2...@php.net

This bug has been fixed in CVS 3 months ago.

------------------------------------------------------------------------
[2006-04-05 02:57:51] nospam at fidk dot com

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");





?>

------------------------------------------------------------------------
[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

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


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/bug.php?id=36473


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

Reply via email to