ID: 28173 Updated by: [EMAIL PROTECTED] Reported By: herps at raqtweak dot com -Status: Open +Status: Bogus Bug Type: GD related Operating System: Redhat 6.x PHP Version: 4.3.6 New Comment:
Ok, known issue with older redhats. Also, this is most likely because of symbol conflicts somewhere else. Not a PHP bug really. Previous Comments: ------------------------------------------------------------------------ [2004-04-27 21:41:39] herps at raqtweak dot com Hmm ok: I had libpng 1.2.5, didn't work. see issue described. I downgrade to 1.0.5, works! ------------------------------------------------------------------------ [2004-04-27 08:42:51] herps at raqtweak dot com I am linking to PNG: [root SPECS]# rpm -qa | grep png libpng-1.2.5-1 libpng-devel-1.2.5-1 ./configure --with-gd --enable-gd-imgstrttf --enable-gd-native-ttf --enable-gd-jis-conv --with-imagick --with-png-dir=/usr/lib --with-jpeg-dir=/usr/lib --with-ttf --with-ttf=/usr/lib/libttf.so ------------------------------------------------------------------------ [2004-04-27 08:27:45] [EMAIL PROTECTED] Works fine for me, to which png library are you linking, and what is your configure line? ------------------------------------------------------------------------ [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