|
Posted by comp.lang.php on 10/10/06 15:45
NC wrote:
> comp.lang.php wrote:
> > re:
> > http://www.google.com/search?hl=en&q=swedish+flag&btnG=Google+Search
> >
> > I am trying only this:
> >
> > [PHP]
> > $image = @imagecreatefromgif('/path/to/this/image.gif');
> > [/PHP]
> >
> > This line alone causes a segfault on my machine; when I measured how
> > much memory it took to process this, it literally required up to 100+mb
> > of memory to process a GIF image that is only 953 bytes!!!
> >
> > Is this normal behavior for imagecreatefromgif()?
>
> No. It's possible your copy of GD is damaged. Try reinstalling GD.
>
I am not capable of doing that on this particular machine as I don't
have root privileges onto it and the only ones who do are no longer
authorized to do any administrative work on this particular machine, so
I'm not sure what I could do as a workaround for this, but I am truly
suspecting that there is something within either PHP or GD, as others
pointed out, causing this to frequently occur and requires an upgrade
of both.
Thanx
Phil
> Cheers,
> NC
[Back to original message]
|