Bug #16002 Updated: imagecreatetruecolor not recognizing create version of GD library
| From: | dlaur at dechow dot net | Date: | Tue, 12 Mar 2002 16:56:50 +0000 |
| Subject: | Bug #16002 Updated: imagecreatetruecolor not recognizing create version of GD library | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-2312@lists.php.net to get a copy of this message | ||
ID: 16002
Updated by: dlaur@dechow.net
Reported By: dlaur@dechow.net
Status: Open
Bug Type: GD related
Operating System: Red Hat Linux
-PHP Version: 4.1.2
+PHP Version: 4.1.1
New Comment:
Duplicated the error on a new dedicated server account that I have.
This one is running version 4.1.1.
Same error:
Fatal error: imagecreatetruecolor(): requires GD 2.0 or later in
/www/apache/htdocs/starsguitars/admin/imgfunctions.php on line 39
Here is the configuration
'./configure' '--with-apxs=/www/apache/bin/apxs'
'--with-config-file-path=/usr/local/apache/conf/'
'--with-mysql=/usr/local/mysql' '--enable-debug=no'
'--enable-track-vars' '--enable-magic-quotes' '--enable-ftp'
'--with-gd' '--with-jpeg-dir=/usr' '--with-png-dir=/usr/lib'
'--with-pear' '--with-curl' '--with-zlib-dir=/usr/lib'
'--with-ttf'
'--enable-gd-native-ttf' '--with-xml' '--with-openssl'
Previous Comments:
------------------------------------------------------------------------
[2002-03-12 10:02:47] dlaur@dechow.net
Here is an update from my server.
Sorry guys that I do not have my own server but this is all I can do to
track this down.
I am working on getting my own server up locally to test this but
haven't had luck yet.
Here is the comments from my server host.
We have been attempting to correct this problem today by re-compiling
PHP and GD, but to no avail at this point. For some unknown reason the
GD test programs won't even work because of the gdImageCreateTrueColor
problems (yet GD compiles fine).
------------------------------------------------------------------------
[2002-03-12 09:50:11] md5ander@hotmail.com
i got the same errors with the precomiled win32 version of php 4.1.2.
Fatal error: imagecreatetruecolor(): requires GD 2.0 or later in
c:\www\scripts\cddb_appl\crop.php on line 46
Is there a fault in the config file (i.e. should
php.ini:extension=php_gd.dll read php_gd2.dll?) or what?
------------------------------------------------------------------------
[2002-03-11 15:55:29] dlaur@dechow.net
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 this bug report at http://bugs.php.net/?id=16002&edit=1