|
Posted by B Squared on 10/19/05 08:19
Andy Hassall wrote:
> On Tue, 18 Oct 2005 14:27:39 -0700, B Squared <null@null.com> wrote:
>
>
>>I recently installed PHP 5.0.4 on my Fedora system. I compiled in the GD
>> option. (--with-gd). Then I tested the ImageTypes() function. It
>>seems .png and .gif (IMG_PNG and IMG_GIF) are supported, but jpeg
>>(IMG_JPEG) is not. Is this expected? How do I get .jpeg support?
>
>
> You may have to specifically use --with-jpeg-dir in configure - I've got
> "--with-jpeg-dir=/usr" in the configure line I used for building PHP, which
> implies at some point I added it on because JPEG support wasn't working.
So I did as you suggested, the jpeg lib was in /usr/lib. I looked at the
configuration output and saw, among other stuff
checking for the location of libjpeg... /usr/lib
checking for jpeg_read_header in -ljpeg... yes
and there were no errors, so it looks like it worked. But the
ImageTypes() function still doesn't recognize IMG_JPEG. Any other
suggestions.
Thanks in advance.
B Squared
Navigation:
[Reply to this message]
|