I have moved an old web to a new server (Windows-2000)
with fresh versions of php (4.3.0) and GD.
I get the error message "Unable to load dynamic library .../php_gd.dll.
The specified procedure could not be found.
This looks like a false setting of the extension_dir path in php.ini
but this is correct.
I have also put a copy of php_gd.dll on the c:/php directory
where php.exe is located, but this does not help.
I have tried to limit the number of Image* routines involved
by trying the simple php script given below,
but the same error message keeps popping up.
Can someone give me a suggestion here?
Even Thorbergsen
Interconsult, Norway
<?php
Header ("Content-type: image/png");
$a = array(
"0" => "40", // x1
"1" => "50", // y1
"2" => "20", // x2
"3" => "240", // y2
"4" => "60", // x3
"5" => "60", // y3
"6" => "240", // x4
"7" => "20", // y4
"8" => "50", // x5
"9" => "40", // y5
"10" => "10", // x6
"11" => "10", // y6
);
$im = ImageCreate (250, 250);
$white = ImageColorAllocate ($im, 255, 255, 255);
$blue = ImageColorAllocate ($im, 0, 0, 255);
ImageFilledPolygon ($im, $a, 6, $blue );
ImagePng ($im);
ImageDestroy ($im);
?>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php