#44503 [Opn->Bgs]: GD Error?

From: Date: Sat, 22 Mar 2008 11:01:31 +0000
Subject: #44503 [Opn->Bgs]: GD Error?
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-123539@lists.php.net to get a copy of this message
ID: 44503 Updated by: pajoye@php.net Reported By: shadow_man642 at hotmail dot com -Status: Open +Status: Bogus Bug Type: GD related Operating System: Windows XP SP2 PHP Version: 5.2.5 -Assigned To: +Assigned To: pajoye New Comment: "The extension is uncommented in PHP.ini but the functions still don't work and phpinfo produces "--without-gd"." The important part to check is the GD section of the phpinfo() output. Be sure that you are editing the php.ini used by your php. You can get its path in phpinfo() as well. PHP.net has a installation support mailing list, please ask your questions there or in one of the numerous support channels. This issue tracker is only about tracking features requests or bugs. Previous Comments: ------------------------------------------------------------------------ [2008-03-22 05:44:03] shadow_man642 at hotmail dot com 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 this bug report at http://bugs.php.net/?id=44503&edit=1

« previous php.bugs (#123539) next »