|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-04-27 08:27 UTC] derick@php.net
[2004-04-27 08:42 UTC] herps at raqtweak dot com
[2004-04-27 21:41 UTC] herps at raqtweak dot com
[2004-04-27 21:50 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 05:00:01 2025 UTC |
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...