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: Can't Get GD to Work  (Read 2249 times)

0 Members and 1 Guest are viewing this topic.

pushback

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Can't Get GD to Work
« on: December 29, 2008, 02:49:31 am »

Hello,  Newbie here.

I just installed Coppermine and tried to upload some pictures.  I get:

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

I ran phpinfo.php and it has no GD section.

ImageMagick is installed.

I am running Fedora 9 with PHP 5.2.5.

Thanks!
Logged

Nibbler

  • Guest
Re: Can't Get GD to Work
« Reply #1 on: December 29, 2008, 05:08:19 pm »

If you want to use ImageMagick then set the path in config (/usr/bin/). If you want to use GD2 then install the php-gd package from the repo.
Logged

pushback

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Can't Get GD to Work
« Reply #2 on: December 30, 2008, 05:21:47 am »

Well, I have ImageMagick installed and I have the

Path to ImageMagick 'convert' utility (example /usr/bin/X11/)       set to /usr/bin/

but I still get:

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


The convert utility is indeed in /usr/bin:

ls -l /usr/bin/convert
-rwxr-xr-x 1 root root 9988 2008-04-23 18:11 /usr/bin/convert


GD, however, is not turned on in my PHP.  I don't really care which I use (unless someone can tell me the advantage one has over the other).  Can someone point me to a resource somewhere that can tell me, step by step, how to turn on GD?  I have Googled and come up with nothing that's decipherable.

Thanks!


Logged

Nibbler

  • Guest
Re: Can't Get GD to Work
« Reply #3 on: December 30, 2008, 03:04:41 pm »

You need to actually set the resize method to Image Magick in addition to setting the path.
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 20 queries.