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
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:
14 + 10 = ?
Subscribe to this entry?

 
 [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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 14:01:29 2024 UTC