php.net |  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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
20 + 3 = ?
Subscribe to this entry?

 
 [2001-07-04 05:16 UTC] cgadais at iname dot com
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






Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-04 05:30 UTC] derick@php.net
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-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 15:01:29 2024 UTC