ImageMagick 'convert' program ... can't be executed by the script ImageMagick 'convert' program ... can't be executed by the script
 

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]

Main Menu

ImageMagick 'convert' program ... can't be executed by the script

Started by Ascension, March 20, 2005, 10:44:25 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Ascension

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

kegobeer

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.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Ascension

Thanks kegobeer.   :)  I will point my webhost's technical support to this post.

- A

armann

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.... :)

kegobeer

There are posts about this.  Search for imagemagick permission and look for gaugau or kegobeer as the poster.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

GregK

Note that it is possible to encounter this error even if you have permission to execute convert, though that is the most common cause.

Suffering

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"?

kegobeer

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)?
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Suffering

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.