PHP and GD issues PHP and GD issues
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

PHP and GD issues

Started by Mury, February 27, 2007, 08:09:24 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Mury

I'm kinda afraid to post, but I've been working on this for a week and have searched online for answers forever.  I'm not sure where else to turn.

Error message:

PHP running on your server does not support the GD image library, check with your webhost if ImageMagick is installed


Environment:

PHP Version 4.4.5

Configure Command  ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-zlib-dir=/usr --enable-xml --with-zlib=yes --with-php-config=/usr/local/bin/php-config --with-gd 

Apache Version  Apache/2.2.4 (Unix) DAV/2 PHP/4.4.5 

GD Support  enabled 
GD Version  bundled (2.0.28 compatible) 
GIF Read Support  enabled 
GIF Create Support  enabled 
PNG Support  enabled 
WBMP Support  enabled 
XBM Support  enabled 

mysql
Client API version  3.23.49 

xml
XML Support  active 
XML Namespace Support  active 
EXPAT Version  1.95.6 

zlib
ZLib Support  enabled 
Compiled Version  1.2.3 
Linked Version  1.2.3 

tokenizer
Tokenizer Support  enabled 


Any ideas?

Thanks.

Mury

Joachim Müller

GD needs to be compiled with jpeg support. Your version apparently isn't. If you're self-hosted, re-compile GD with the corresponding option set or (even better) go for a package (PHP usually comes with GD support out-of-the-box). If you're webhosted, ask your webhost for support.

Mury


Crap, I knew this would happen... as soon as I post I figure it out and waste everyone's time.  Ya, I forgot the jpeg support on my last attempt.

Everything works now.

I'm excited!

Thanks.

Mury