php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21052 Windows build includes GD v1.x, not GD v2.x
Submitted: 2002-12-16 15:04 UTC Modified: 2002-12-16 16:48 UTC
From: stuart at myrddraal dot demon dot co dot uk Assigned:
Status: Closed Package: GD related
PHP Version: 4.3.0RC3 OS: Windows XP
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: stuart at myrddraal dot demon dot co dot uk
New email:
PHP Version: OS:

 

 [2002-12-16 15:04 UTC] stuart at myrddraal dot demon dot co dot uk
Do the PHP 4.3.0RC3 binaries for Windows ship with an older version of the GD library?

I get the following error message when trying to use imagecopyresampled(), which is only available in GD v2.x:

Fatal error: Call to undefined function: imagecopyresampled() in c:\devel\php\gpfr\images\gdlib\gdlib.php on line 53

phpinfo() simply shows the GD version to be "1.6 or higher"

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-12-16 15:53 UTC] iliaa@php.net
which gd library are you loading, php_gd.dll or php_gd2.dll? The latter is the dll containing both the GD2 library and the interface to it via PHP.
 [2002-12-16 16:48 UTC] stuart at myrddraal dot demon dot co dot uk
That did the job nicely!
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Fri Jul 01 11:05:45 2022 UTC