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:[EMAIL PROTECTED]]
> 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:[EMAIL PROTECTED]]
> 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:[EMAIL PROTECTED]]
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to