Re: Fwd: ImageCreate() function Problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Nope, Text search on output of PHPINFO() only found  :
Configure Command : cscript /nologo configure.js
"--enable-snapshot-build" "--with-gd=shared"

I think this is the problem. How to enable DG2 beside the way I did on
my previous mail (through php.ini).

Regards,

Arief K

On 10/5/06, trystano@xxxxxxx <trystano@xxxxxxx> wrote:

Does it say that you have enabled GD2 when you output PHPINFO()?

 Tryst



 -----Original Message-----
 From: ariefk.milis@xxxxxxxxx
 To: php-windows@xxxxxxxxxxxxx
 Sent: Wed, 4 Oct 2006 3.33AM
 Subject:  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


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux