Jump to content

Archived

This topic is now archived and is closed to further replies.

aluminumpork

Trouble enabling JPEG support in GD (PHP5)

Recommended Posts

This question pertains to Debian, and I'm compiling everything from source.

So I've got GD compiling just fine, and it seems just fine with PNG and JPEG support. In the beginning of the ./configure script, it states that JPEG support is enabled and PNG support is enabled along with a few other things. The configure, make and make install all go fine. I then compile PHP5 with some like this:

./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-jpeg --with-gd --with-zlib

It also configures, make and installs perfectly, without warnings, errors etc. The build works great and PHP runs fine. However, when I view phpinfo(), under the GD section, there is no JPEG support. GIF support is enabled along with PNG and others, but no mention of JPEG. I also tried some of the JPEG specific GD functions, none work, all come back undefined. PNG and GIF functions work fine.

I did notice that when make installing GD, that there was no mention of any jpeg programs being installed. There were png and gif programs being installed, but again, it stated that JPEG support was there. I've been trying to get GD with JPEG support working for quite some time now. This is the farthest I've gotten.

Any tips? Thanks.

Share this post


Link to post
Share on other sites
Nevermind, searched the forums and found the thread just below [url=http://www.phpfreaks.com/forums/index.php/topic,91059.0.html]http://www.phpfreaks.com/forums/index.php/topic,91059.0.html[/url]

Works great. Thaaaannnkkk yooouu.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.