|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11869 probleme with the graphics library
Submitted: 2001-07-04 05:16 UTC Modified: 2001-07-04 05:30 UTC
From: cgadais at iname dot com Assigned:
Status: Not a bug Package: PHP options/info functions
PHP Version: 4.0.6 OS: Windows ME
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: cgadais at iname dot com
New email:
PHP Version: OS:


 [2001-07-04 05:16 UTC] cgadais at iname dot com

My configuration: PHP4.06/Apache/Mysql.

When I want launch this script to display a rectangle:

  Header("Content-type: image/gif");
  $im = imagecreate($largeur,$hauteur);
  $rouge=imageColorAllocate($im, 255, 0, 0);

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.



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-04 05:30 UTC]
Uncomment the lines in php.ini for the gd extension. However, this is not a bug, and please ask further questions on the php-general mailinglist.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sun Dec 03 01:01:27 2023 UTC