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: "You may consider using GD instead of ImageMagick."  (Read 9311 times)

0 Members and 1 Guest are viewing this topic.

fadingaway1986

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
"You may consider using GD instead of ImageMagick."
« on: February 13, 2004, 08:57:03 am »

I am trying to install coppermine onto my site, and it took me forever to get it to find imagemagick, and it finally did, and it now says:

The installer found the ImageMagick 'convert' program in '../../public_html/imagemagick/bin/', however it can't be executed by the script.

You may consider using GD instead of ImageMagick.



Does anyone know why?

Please help!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
"You may consider using GD instead of ImageMagick."
« Reply #1 on: February 13, 2004, 09:05:29 am »

you have to set permissions accordingly to let the webserver execute ImageMagick. If you're webhosted, you simply can't install ImageMagick - this has to be done by someone who has administrative powers on your webserver in the first place. Please refer to the ImageMagick manual...

GauGau
Logged

fadingaway1986

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
"You may consider using GD instead of ImageMagick."
« Reply #2 on: February 13, 2004, 09:17:23 am »

Would that be the same with NetPbm?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
"You may consider using GD instead of ImageMagick."
« Reply #3 on: February 13, 2004, 09:36:07 am »

NetPBM can be installed by non-admins, that's why menalto gallery has support for it. If you're considering this as an option, check the reuirements page on the menalto page - further questions should go into the menalto board, not the one of coppermine (since coppermine has no NetPBM support)!

GauGau
Logged

aztbca

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: "You may consider using GD instead of ImageMagick."
« Reply #4 on: December 21, 2005, 04:30:01 am »

If your server is running PHP in safe mode, which it is likely to be if you're using a (free) shared host, your scripts don't have the right to execute shell commands. As this script runs ImageMagick as a shell command, you won't be able to use it.

also, imagemagick needs to run exec() function in php pages, which is disabled by most virtual host servers.(php.ini - disable_functions)

You could
a. ask your hosting provider to disable safe mode or
b. use the GD library to generate your images.

ImageMagick is far more powerful than the GD library, but you can use the latter even in safe mode.

Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.