coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: pushback on December 29, 2008, 02:49:31 AM

Title: Can't Get GD to Work
Post by: pushback 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!
Title: Re: Can't Get GD to Work
Post by: Nibbler 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.
Title: Re: Can't Get GD to Work
Post by: pushback 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!


Title: Re: Can't Get GD to Work
Post by: Nibbler 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.