forum.coppermine-gallery.net

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: fadingaway1986 on February 13, 2004, 08:57:03 am

Title: "You may consider using GD instead of ImageMagick."
Post by: fadingaway1986 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!
Title: "You may consider using GD instead of ImageMagick."
Post by: Joachim Müller 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
Title: "You may consider using GD instead of ImageMagick."
Post by: fadingaway1986 on February 13, 2004, 09:17:23 am
Would that be the same with NetPbm?
Title: "You may consider using GD instead of ImageMagick."
Post by: Joachim Müller 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
Title: Re: "You may consider using GD instead of ImageMagick."
Post by: aztbca 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.