Bug #16002: imagecreatetruecolor not recognizing create version of GD library

From: Date: Mon, 11 Mar 2002 20:55:31 +0000
Subject: Bug #16002: imagecreatetruecolor not recognizing create version of GD library
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-2246@lists.php.net to get a copy of this message
From: dlaur@dechow.net Operating system: Red Hat Linux PHP version: 4.1.2 PHP Bug Type: GD related Bug description: imagecreatetruecolor not recognizing create version of GD library I rent my server from a virtual host so I do not have much control over the server. This might not be a bug but a error in them compiling it but it should be reported just in case. I had a script that was working that used imagecreatetruecolor with a older version of PHP, I think it was two versions back. Anyway, my server updated to php 4.1.2 and it 2.01 of GD and after that my script would only return this error. Fatal error: imagecreatetruecolor(): requires GD 2.0 or later in /home/member/public_html/website/admin/imgfunctions.php on line 39 As I said it is a virtual server but phpinfo produced this, './configure' '--with-mysql' '--with-apache=../apache_1.3.23' '--enable-track-vars' '--with-gd=/usr/gd-2.0.1' '--with-jpeg-dir=/usr' '--with-png-dir=/usr/local/lib' '--with-zlib-dir=/usr/local/include' This might not be a bug but an error in my server compiling the latest version of PHP. Please email me at dlaur@dechow.net if an error is obvious that you can see that I can't and I will contact my host and see if that is the problem and then this bug report can be closed. -- Edit bug report at http://bugs.php.net/?id=16002&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=16002&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=16002&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=16002&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=16002&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=16002&r=support Expected behavior: http://bugs.php.net/fix.php?id=16002&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=16002&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=16002&r=submittedtwice

« previous php.bugs (#2246) next »