jsvoyager Posted April 15, 2006 Share Posted April 15, 2006 I've just installed with the following config options:[code]./configure --with-zlib-dir=/usr/include --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-sqlite --with-xml --enable-calendar --with-curl --enable-ftp --enable-magic-quotes --with-config-file=/etc --with-gd --with-jpeg --with-ttf --with-fretype --with-t1li --with-pear[/code]Please note the --with-jpeg option.However, after looking at phpinfo() the gd section shows no JPEG. I've tried configuration with --with-jpeg=/usr/local/bin and --with-jpeg=[compilation folder] and none of these option alow JPEG to work with GD.Anyone know what's wrong?Thanks Quote Link to comment https://forums.phpfreaks.com/topic/7454-jpeg-with-gd/ Share on other sites More sharing options...
Sakrag Posted April 27, 2006 Share Posted April 27, 2006 [!--quoteo(post=364979:date=Apr 14 2006, 10:27 PM:name=jsvoyager)--][div class=\'quotetop\']QUOTE(jsvoyager @ Apr 14 2006, 10:27 PM) [snapback]364979[/snapback][/div][div class=\'quotemain\'][!--quotec--]I've just installed with the following config options:[code]./configure --with-zlib-dir=/usr/include --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-sqlite --with-xml --enable-calendar --with-curl --enable-ftp --enable-magic-quotes --with-config-file=/etc --with-gd --with-jpeg --with-ttf --with-fretype --with-t1li --with-pear[/code]Please note the --with-jpeg option.However, after looking at phpinfo() the gd section shows no JPEG. I've tried configuration with --with-jpeg=/usr/local/bin and --with-jpeg=[compilation folder] and none of these option alow JPEG to work with GD.Anyone know what's wrong?Thanks[/quote][!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]Never mind after a bit of logn research i figure dit out. Appraently there is a bug in the php5 config script that caches config wrong. This causes gd to be screwed up if you already have compiled one before with out gd support. To resolve I downlaoded fresh sources and recompiled fresh.Sorry about this waste of a thread, it seems I always do hours of searching, then post on a forum and two minutes later find the answer.[/quote][a href=\"http://www.phpfreaks.com/forums/index.php?s=&showtopic=92251&view=findpost&p=369391\" target=\"_blank\"]http://www.phpfreaks.com/forums/index.php?...ndpost&p=369391[/a] Quote Link to comment https://forums.phpfreaks.com/topic/7454-jpeg-with-gd/#findComment-31486 Share on other sites More sharing options...
jsvoyager Posted May 6, 2006 Author Share Posted May 6, 2006 Thanks for the tip. Works perfectly now. Quote Link to comment https://forums.phpfreaks.com/topic/7454-jpeg-with-gd/#findComment-33897 Share on other sites More sharing options...
aluminumpork Posted July 9, 2006 Share Posted July 9, 2006 Thanks for the tip also. I was stumped. Quote Link to comment https://forums.phpfreaks.com/topic/7454-jpeg-with-gd/#findComment-55239 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.