coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: Ascension on March 20, 2005, 10:44:25 PM

Title: ImageMagick 'convert' program ... can't be executed by the script
Post by: Ascension on March 20, 2005, 10:44:25 PM
Hello,

I recently just got my webhost to install ImageMagick on my server, but I'm getting this error when I try to run the install.php file.

The installer found the ImageMagick 'convert' program in 'C:/ImageMagick/', however it can't be executed by the script.
You may consider using GD instead of ImageMagick.


I haven't planned on using GD since I've read that ImageMagick was better, plus GD isn't installed on the server.  What do I need to do to fix this error?

- A
Title: Re: ImageMagick 'convert' program ... can't be executed by the script
Post by: kegobeer on March 20, 2005, 11:13:21 PM
Your host needs to properly configure ImageMagick.  You don't have permission to read/execute the convert.exe file.

You should ask your enable GD while you're at it.  Since this is Windows, all they have to do is uncomment out extension=php_gd2.dll in php.ini.
Title: Re: ImageMagick 'convert' program ... can't be executed by the script
Post by: Ascension on March 20, 2005, 11:28:33 PM
Thanks kegobeer.   :)  I will point my webhost's technical support to this post.

- A
Title: Re: ImageMagick 'convert' program ... can't be executed by the script
Post by: armann on March 20, 2005, 11:40:20 PM
I have the same proplem.
I'm a IT person but I have never used imagemagick.
Could you please describe in detail how I can fix this proplem.
Many thanks.... :)
Title: Re: ImageMagick 'convert' program ... can't be executed by the script
Post by: kegobeer on March 20, 2005, 11:47:45 PM
There are posts about this.  Search for imagemagick permission and look for gaugau or kegobeer as the poster.
Title: Re: ImageMagick 'convert' program ... can't be executed by the script
Post by: GregK on March 21, 2005, 10:47:46 AM
Note that it is possible to encounter this error even if you have permission to execute convert, though that is the most common cause.
Title: Re: ImageMagick 'convert' program ... can't be executed by the script
Post by: Suffering on September 19, 2005, 04:53:07 AM
I have verified that my web server user has execute permissions in the directory which contains 'convert'.  What other possible causes are there for this error message:  "can't be executed by the script"?
Title: Re: ImageMagick 'convert' program ... can't be executed by the script
Post by: kegobeer on September 19, 2005, 12:51:14 PM
When you say you verified the web user, do you mean you did a command line exec?  Have you tried making a small php file with the exec command (the same one used by Coppermine)?
Title: Re: ImageMagick 'convert' program ... can't be executed by the script
Post by: Suffering on September 22, 2005, 05:09:06 AM
No I didn't try a command line exec.  I'm hosting my web-site on a windows xp pro host running IIS.  Just verified that the IUSR account settings are full control (read, write, exec) for files in the Image Magick folder where convert.exe exists.