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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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.