From: myzyzy at gmail dot com Operating system: Win32 / NT PHP version: 4.4.4 PHP Bug Type: GD related Bug description: gd problem
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 -- Edit bug report at http://bugs.php.net/?id=39461&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=39461&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=39461&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=39461&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=39461&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=39461&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=39461&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=39461&r=needscript Try newer version: http://bugs.php.net/fix.php?id=39461&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=39461&r=support Expected behavior: http://bugs.php.net/fix.php?id=39461&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=39461&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=39461&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=39461&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39461&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=39461&r=dst IIS Stability: http://bugs.php.net/fix.php?id=39461&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=39461&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=39461&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=39461&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=39461&r=mysqlcfg