PHP 4.1.1
Apache 2.0.28
Windows NT
I run phpinfo and it says that 1.6.2 GD is enabled as well as zlib, I have the php.ini with php_gd.dll and php_zlib.dll extensions enabled, but I'm unable to create any images.... in fact, I'm getting 500 errors. I'm not trying to create GIFs or JPEGs, but rather PNGs. Here's the simple image php file I created:
<?php
Header( "Content-type: image/png");
$image = imagecreate(200,200);
$black = ImageColorAllocate($image,0,0,0);
$white = ImageColorAllocate($image,255,255,255);
ImageFill($image,0,0,$black);
ImageLine($image,0,0,200,200,$white);
ImageString($image,4,50,150,"Sales",$white);
ImagePNG($image);
ImageDestroy($image);
?>
HELP me before I abandon my efforts.