I am running: PHP 4.0.5 on two systems.
1. Windows 98B - PWS4. Here everything is working 100%.
2. Windows ME - PWS 4. Here I get the error: Fatal error: Call to
undefined function: imagecreate() in C:\myfile.php on line 25.
What I am doing and have done so far:
Got hold of every single php_gd.dll file that I could get (yes the Windows
one as well). The original php_gd.dll that I got with PHP 4.0.5 - (Windows
Zip) crashes my PWS or it give me a Internal Server Error 500.
The code from a tutorial:
// create image
$width = 600; //Total Chart Width
$height = 400; //Total Chart Height
$image = imagecreate($width, $height);
other important part:
// flush image
header("Content-type: image/png");
imagepng($image);
imagedestroy($image);
My PHP setup is spotless.
Why only on Win ME?
Please help....
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]