ID:               28173
 Updated by:       [EMAIL PROTECTED]
 Reported By:      herps at raqtweak dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         GD related
 Operating System: Redhat 6.x
 PHP Version:      4.3.6
 New Comment:

Works fine for me, to which png library are you linking, and what is
your configure line?


Previous Comments:
------------------------------------------------------------------------

[2004-04-27 02:11:22] herps at raqtweak dot com

Description:
------------
I am using PHP 4.3.6 with --with-gd
It is your BUNDLES GD 2.0.22.
Everything shows fine on a phpinfo.

But when I run the following script (listed below) to test my GD, I get
a "[Tue Apr 27 01:28:19 2004] [notice] child pid 9034 exit signal
Segmentation fault (11)" in /var/log/httpd/error
===============[Script]===============
<?php 
header ("Contenttype: image/png"); 
$im = @ImageCreate (50, 100) 
or die ("Cannot create a new GD image."); 
$background_color = ImageColorAllocate ($im, 255, 255, 255); 
$text_color = ImageColorAllocate ($im, 233, 14, 91); 
ImageString ($im, 1, 5, 5, "A Simple Text String", $text_color); 
ImagePng ($im); 
?>
===============[Script]===============

I read about a system GD, but I am using the bundled GD...
Any clue what so ever?
I compiled with --with-png=/usr/lib and without, no difference...



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=28173&edit=1

Reply via email to