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;
<?
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;
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
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
<?
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;
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
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!