php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3375 ImageGIF() ImagePNG() fail with GD 1.3 and Apache 1.3.9
Submitted: 2000-02-01 12:44 UTC Modified: 2000-02-01 14:39 UTC
From: mrisser at linuxstart dot com Assigned:
Status: Closed Package: Other
PHP Version: 3.0.14 OS: Red Hat 6.1
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mrisser at linuxstart dot com
New email:
PHP Version: OS:

 

 [2000-02-01 12:44 UTC] mrisser at linuxstart dot com
PHP 3.0.14 fails to create an image using GD 1.3 and Apache 1.3.9. imageGIF() Returns only a missing graphic icon
imagePNG() Returns "Call to unsupported or undefined function imagepng()
Scripts:
<?PHP
$white = ImageColorAllocate($img, 255, 255, 255);
$blue = ImageColorAllocate($img, 0, 0, 255);
$red = ImageColorAllocate($img, 255, 0, 0);
$black = ImageColorAllocate($img, 0, 0, 0);
ImageFill($img, 0, 0, $black);
ImageDashedLine($img, 0, 0, 500, 500, $white);
ImagePNG($img,"images/graph1.php3");
echo "<BR><IMG SRC='images/graph1.php3?text'>";
ImageDestroy($img);
?> 
and:
<?PHP
$img = ImageCreate(500, 500);

$white = ImageColorAllocate($img, 255, 255, 255);
$blue = ImageColorAllocate($img, 0, 0, 255);
$red = ImageColorAllocate($img, 255, 0, 0);
$black = ImageColorAllocate($img, 0, 0, 0);
ImageFill($img, 0, 0, $black);
ImageDashedLine($img, 0, 0, 500, 500, $white);
ImagePNG($img);
ImageDestroy($img);
?>

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-02-01 14:39 UTC] markonen at cvs dot php dot net
Duplicate bug report, we're following #3374
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Oct 13 04:00:01 2026 UTC