ID: 44503
User updated by: shadow_man642 at hotmail dot com
Reported By: shadow_man642 at hotmail dot com
Status: Bogus
Bug Type: GD related
Operating System: Windows XP SP2
PHP Version: 5.2.5
Assigned To: pajoye
New Comment:
Nevermind this, it was a problem with Apache and not PHP.
Previous Comments:
------------------------------------------------------------------------
[2008-03-22 11:01:31] [EMAIL PROTECTED]
"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.
------------------------------------------------------------------------
[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