Advanced search  

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]

Pages: [1]   Go Down

Author Topic: PHP and GD issues  (Read 2530 times)

0 Members and 1 Guest are viewing this topic.

Mury

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 2
    • Foosline
PHP and GD issues
« 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
« Last Edit: February 27, 2007, 08:34:23 am by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: PHP and GD issues
« Reply #1 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.
Logged

Mury

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 2
    • Foosline
Re: PHP and GD issues
« Reply #2 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
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 16 queries.