php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #39461 gd problem
Submitted: 2006-11-10 13:13 UTC Modified: 2006-11-10 13:20 UTC
From: myzyzy at gmail dot com Assigned:
Status: Not a bug Package: GD related
PHP Version: 4.4.4 OS: Win32 / NT
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: myzyzy at gmail dot com
New email:
PHP Version: OS:

 

 [2006-11-10 13:13 UTC] myzyzy at gmail dot com
Description:
------------
Using PHP 4.2.3, some of gd functions not available or keep returning the undefined function error message. Truetype fonts failed to load , even though freetype is installed and shown in phpinfo().

Yes, I am fully aware that the easiest solution for this kind of problem is to upgrade the PHP itself, but in Win32 /NT environment and using pre-packaged WAMP suites , and for most beginners that have years workin with it and have done dozens of applications from it - they might fear all the php.ini tweaking they've done for all this years will gone and end up with errornous scripts at runtime .

I've done my best to encourage them to upgrade but failed. 
In boutell's site there's workaround on this but the patch just dont work ( at least for me ). Do PHP team has any workaround/patch on this problem in Win32 ?

Reproduce code:
---------------
//i just give the simplest code
<?php
print_r(gd_info());
?>

Expected result:
----------------
the gd array values should be outputted

Actual result:
--------------
but instead the undefined error message shown

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-11-10 13:20 UTC] tony2001@php.net
http://php.net/gd_info

gd_info
(PHP 4 >= 4.3.0, PHP 5)
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 30 13:00:02 2025 UTC