I have installed gd-1.8.4 in apache server without any problems.To check if the gd can 
work,I write some codes with 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);
ImageGif($im);
ImageDestroy($im);
?>.
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 
<b>9</b><br>".why??

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

ps:my php work very well in this server.

help,please!!


 




Reply via email to