Bug #11869: probleme with the graphics library
| From: | cgadais at iname dot com | Date: | Wed, 04 Jul 2001 09:16:57 +0000 |
| Subject: | Bug #11869: probleme with the graphics library | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-58855@lists.php.net to get a copy of this message | ||
From: cgadais@iname.com
Operating system: Windows ME
PHP version: 4.0.6
PHP Bug Type: PHP options/info functions
Bug description: probleme with the graphics library
Hello,
My configuration: PHP4.06/Apache/Mysql.
When I want launch this script to display a rectangle:
<?php
Header("Content-type: image/gif");
$largeur=200;
$hauteur=100;
$im = imagecreate($largeur,$hauteur);
$rouge=imageColorAllocate($im, 255, 0, 0);
//imagecolortransparent($im,$rouge);
ImageGif($im);
ImageDestroy($im);
?>
I obtain this error message:
<b>Fatal error</b>: Call to undefined function: imagecreate() in <b>c:\program
files\apache group\apache\htdocs\test.php3</b> on line <b>5</b><br>
could you help me to find Why i meet this problem ?
thanks about your answer.
Christophe
--
Edit Bug report at: http://bugs.php.net/?id=11869&edit=1