#44503 [NEW]: GD Error?

From: Date: Sat, 22 Mar 2008 05:44:03 +0000
Subject: #44503 [NEW]: GD Error?
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-123536@lists.php.net to get a copy of this message
From: shadow_man642 at hotmail dot com Operating system: Windows XP SP2 PHP version: 5.2.5 PHP Bug Type: GD related Bug description: GD Error? Description: ------------ I've tried on three machines with separate installations of PHP but i keep getting the same issue, GD2 doesn't work. The extension is uncommented in PHP.ini but the functions still don't work and phpinfo produces "--without-gd". I assume the only way to fix that would be compile to PHP source? because i don't know of a Configure command usable on Windows XP. Thanks for any help providable. Reproduce code: --------------- <?php $string = "test"; $image = imagecreatefromstring($string); if ($image !== false) { header('Content-Type: image/png'); imagepng($image); } else { echo("ERROR!"); } ?> Expected result: ---------------- An image with the text "test" in it. Actual result: -------------- Fatal error: Call to undefined function imagecreatefromstring() -- Edit bug report at http://bugs.php.net/?id=44503&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=44503&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=44503&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=44503&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=44503&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=44503&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=44503&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=44503&r=needscript Try newer version: http://bugs.php.net/fix.php?id=44503&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=44503&r=support Expected behavior: http://bugs.php.net/fix.php?id=44503&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=44503&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=44503&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=44503&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=44503&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=44503&r=dst IIS Stability: http://bugs.php.net/fix.php?id=44503&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=44503&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=44503&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=44503&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=44503&r=mysqlcfg

« previous php.bugs (#123536) next »