RE: [PHP-INST] RH7, gd and php4.0.4pl1

From: Date: Mon, 21 May 2001 19:16:55 +0000
Subject: RE: [PHP-INST] RH7, gd and php4.0.4pl1
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-3229@lists.php.net to get a copy of this message
Hi I will try to follow you directions, to see if it works for me. best regards Thomas D. Kryger > -----Original Message----- > From: Philip Snyder [mailto:psnyder@vizional.com] > Sent: Monday, May 21, 2001 7:14 PM > To: Php-Install > Subject: RE: [PHP-INST] RH7, gd and php4.0.4pl1 > > > Uhm... right... I'd believe that except that I have it working on > the latest > build. I'll attach my directions which I posted to the list a while back. > > -Philip > > -----Original Message----- > From: Rafael Ernesto Bastidas L. [mailto:rbastidas@mindhood.com] > Sent: Monday, May 21, 2001 10:08 AM > To: Thomas D. Kryger; Php-Install > Subject: RE: [PHP-INST] RH7, gd and php4.0.4pl1 > > > newer versions of GD doesnt support JPEG. > > try to use PNG instead > > Rafael > > -----Original Message----- > From: Thomas D. Kryger [mailto:thomas@akvariet.dk] > Sent: Lunes, 21 de Mayo de 2001 01:08 p.m. > To: Php-Install > Subject: [PHP-INST] RH7, gd and php4.0.4pl1 > > > Hi > > I need some help installing gd-support with jpeg and png support on my Red > Hat 7. > I have compiled a version of php4.0.4 witch have support for gd, > but when i > run this script: > <? > // create the image > $gif = imagecreate(200,200); > $bg = ImageColorAllocate($gif,0,0,0); > $tx = ImageColorAllocate($gif,255,128,128); > ImageFilledRectangle($gif,0,0,200,200,$bg); > ImageString($gif,3,70,90,"it works !",$tx); > > // send the image > //header("content-type: image/jpg"); > Imagejpeg($gif, 'test.jpg', 100); > ?> > i get this result: > Warning: ImageJpeg: No JPG support in this PHP build in > /var/www/html/test.grafik.php on line 11 > > I have compiled php4.0.4 with this config: > --with-mysql --with-apxs --with-gd > and i get two warnings telling my to use --with-xpm-dir > and/or --with-jpeg-dir i configure fails, but i don't get any errors, just > the two warnings > > i have installed jpeg from jpegsrc.v6b.tar.gz, and libpng from > libpng-2.1.0.3-1.i386.rpm, and i assumed that gd is installed by > the Red Hat > installer. > > Best regards > Thomas D. Kryger > www.akvariet.dk > www.akvariemarked.dk > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net > For additional commands, e-mail: php-install-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.install (#3229) next »