Yes It is, actually I also copied it to other directory :
c:\php\ext
c:\php
c:\windows\system32

Something else I should do ?

Regards,

Arief K

On 10/4/06, Henrik Hornemann <[EMAIL PROTECTED]> wrote:
Check that php_gd2.dll actually exists.

Regards Henrik Hornemann

-----Oprindelig meddelelse-----
Fra: Arief Kurniawan [mailto:[EMAIL PROTECTED]
Sendt: 4. oktober 2006 04:34
Til: php-windows@lists.php.net
Emne: [PHP-WIN] Fwd: ImageCreate() function Problem

Dear All,
I'm using :
- Apache 2.2.3
- PHP 5.2
- On Windows XP SP2

Executing a simple code :
<?php
$myImage  =   imagecreate(200, 100);
$myGrey = imagecoloraallocate ($myImage, 204, 204, 204);
$myBlack =  imagecolorallocate($myImage,  0,  0,  0);
imageline($myImage,  15, 35, 120, 60, $myBlack);
header("Content-type: image/png");
imagepng($myImage);
imagedestroy($myImage);
?>

On Execution I Got :
Fatal error: Call to undefined function imagecreate() ..........

In php.ini :
extension_dir = "c:\php\ext"
;php_gd2 extension uncommented
extension=php_gd2.dll

Restarted many times. Still the problem exist. Any suggestion please,
what should I do ?

Regards,

Arief K

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to