I recently download GD
Now I did as instructed
Copied php_gd.dll into extensions folder (I am using Nusphere with phpMyAdmin, and the dll are all located in the php folder in the following path
D:\nusphere\apache\php
I then edited php.ini to include
extension=php_gd.dll
I then rebooted the machine
Started up Nusphere's sample site, that starts up mySQL and PHP aswell, and nothign happened. If i try a simple test like below
$im = imagecreate (50, 250);
$bgcolor = ImageColorAllocate ($im, 0x77, 0x77, 0x77);
$font = ImageColorAllocate ($im, 0x00, 0x00, 0x00);
ImageTTFText ($im, 35, 90, 40, 230, $font, "", "blablabla");
Imagepng ($im, "pic.png");
ImageDestroy ($im);
echo "<html><body><img src=\"pic.png\" border=0></body></html>";
I get the following error message
Call to undefined function: imagecreate()
Now obviously something has gone wrong, I am running php 4.0.2.
Does anyone have any ideas of what I am after doing wrong