Guest_imported
New member
- Jan 1, 1970
- 0
Anyone ever managed to get this installed correctly on a Win 2k machine? I'm running Apache 1.13, PHP 4.04 and GD 1.8.4. However, I tried to create an image with the following code;
I then get the error;
However, I did exactly what they said to do on the windows version of GD site.
These are the exact steps I took;
1) Downloaded the newest version of php_gd.dll
2) Uploaded to c:\Program Files\nusphere\apache\php\extensions
3) Opened up PHP.ini in the c:\Program Files\nusphere\apache\php\ folder. I then looked for the line with ;extension=php_gd.dll and it was already there, so I left it there.
Then I run the script again, and still got that error.
Anyone ever managed to get this working, I really need some help ASAP.
Thanks
Andy
Code:
<?
Header("Content-Type: image/jpg");
$im = ImageCreate(500, 75);
$red = ImageColorAllocate($im, 255, 0, 0);
ImageFill($im, 100, 100, $red);
ImageJPG($im);
?>
I then get the error;
Code:
Fatal error: Call to undefined function: imagecreate() in c:\program files\nusphere\apache\nsdocs\testing\gif.php on line 3
However, I did exactly what they said to do on the windows version of GD site.
These are the exact steps I took;
1) Downloaded the newest version of php_gd.dll
2) Uploaded to c:\Program Files\nusphere\apache\php\extensions
3) Opened up PHP.ini in the c:\Program Files\nusphere\apache\php\ folder. I then looked for the line with ;extension=php_gd.dll and it was already there, so I left it there.
Then I run the script again, and still got that error.
Anyone ever managed to get this working, I really need some help ASAP.
Thanks
Andy