Jump to content

Sakrag

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Sakrag's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. The image is some how gettign corrupted when it reaches your browser probably. Make sure you do not output any content before the image (no other headers, no prints, no echos) and also make sure you have now extra empty liens or spaces at the end or beginning of the file (before and after the <? and ?> tags) this will cause those spaces to actually be output to the browser as text and corrupt the image.
  2. [!--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]
  3. 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.
  4. I have never had a problem before compiling php4, now however im trying to compile php5 and i am having trouble with gd support. I am using a gentoo system and even though I have portage installed I am compiling all the sources myself. Anyway no matter how i compile php gd doesnt appear to work. I would really like GD2 working, but it doesnt work at all, and if I compile --with-gd it works however there is no support for jpeg, even if I use --with-jpeg-dir=/usr/lib. I can't figure this out and it is important as I have a few scripts that require jpeg gd support. I am using the following configure command: [code] ./configure --with-apxs2=/opt/apache2/bin/apxs --enable-ftp --enable-inline-optimization --enable-magic-quotes --enable-mbstring --enable-mm=shared --enable-track-vars --enable-trans-sid --enable-wddx=shared --enable-xml --with-dom --with-gd2 --with-gettext --with-mysql --with-regex=system --with-xml --with-zlib-dir=/usr/lib --with-jpeg-dir=/usr/lib --with-png-dir=/usr/lib [/code] php_info() shows no gd2 support and there is no shared gd2.so object created after i run make. When i use --with-gd instead, php_info() shows that gd is supported with png and gif but not jpeg. My scripts also give a function not found error when i try and create a jpeg image. Any ideas?
×
×
  • Create New...

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.