Advanced search  

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

Pages: [1]   Go Down

Author Topic: Can't Get GD to Work  (Read 2348 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.017 seconds with 19 queries.