I have installed gd-1.8.4 in apache server without any problems.To check if the gd can 
work,I write some codes in php like this:
Header("Content-type: image/gif");
$im = imagecreate(40,30);
$black = ImageColorAllocate($im, 0,0,0);
$white = ImageColorAllocate($im, 255,255,255);
imageline($im, 1, 1, 350, 25, $black);
imagearc($im, 200, 15, 20, 20, 35, 190, $white1);
imagestring($im, 5, 4, 10, "Graph TEST!!", $white);
However,the output in IE is the warning message:" <b>Warning</b>:  ImageGif: No GIF 
create support in this PHP build in <b>/usr/local/apache/htdocs/index.php</b> on line 

when I add comment to the line of ImageGif($im),nothing is displayed,why??

ps:my php work very well in this server.



Reply via email to