Can't Get GD to Work Can't Get GD to Work
 

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

Can't Get GD to Work

Started by pushback, December 29, 2008, 02:49:31 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

pushback

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!

Nibbler

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.

pushback

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!



Nibbler

You need to actually set the resize method to Image Magick in addition to setting the path.