Bug #36473 [Csd]: Foreign Images w/getimagesize() crash Apache2
| From: | pajoye@php.net | Date: | Wed, 07 Jul 2010 08:37:53 +0000 |
| Subject: | Bug #36473 [Csd]: Foreign Images w/getimagesize() crash Apache2 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-152167@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=36473&edit=1
ID: 36473
Updated by: pajoye@php.net
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
-Assigned To:
+Assigned To: pajoye
New Comment:
Open a new bug using the image crashing imagegetsize (provide a link to
it). Also please try using the latest PHP or RC before.
Previous Comments:
------------------------------------------------------------------------
[2010-07-07 08:18:12] nooshin dot ha at gmail dot com
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 ...
------------------------------------------------------------------------
[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] tony2001@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
------------------------------------------------------------------------
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