coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 install => Topic started by: Mury on February 27, 2007, 08:09:24 AM

Title: PHP and GD issues
Post by: Mury on February 27, 2007, 08:09:24 AM
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
Title: Re: PHP and GD issues
Post by: Joachim Müller on February 27, 2007, 08:23:51 AM
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.
Title: Re: PHP and GD issues
Post by: Mury on February 27, 2007, 08:33:12 AM

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