Re: Php + GD

From: Date: Sat, 24 Aug 2002 23:10:57 +0000
Subject: Re: Php + GD
Groups: php.general 
Request: Send a blank email to php-general+get-113996@lists.php.net to get a copy of this message
> Im trying to install php+GD to use jpgraph, but Im receiving the >following messages when I try to run any example: > > JpGraph Error: Your PHP (and GD-lib) installation does not appear to >support any known graphic formats.You need to first make sure GD is compiled >as a module to PHP. If you also want to use JPEG imagesyou must get the JPEG >library. Please see the PHP docs for details. When you did ./configure (or edited php.ini on Windows) you told PHP to use GD... But you never told PHP *which* image formats to use *with* GD. :-) GD by itself is pointless -- You also need at least one of JPEG or PNG or TIFF or *something* Either re-do ./configure --with-gd --with-jpeg or edit php.ini again (Windows) to uncomment whatever line in the extensions has 'PHP', 'JPEG', and 'DLL' all on the same line. -- Like Music? http://l-i-e.com/artists.htm

« previous php.general (#113996) next »