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
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.
Thanks kegobeer. :) I will point my webhost's technical support to this post.
- A
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.... :)
There are posts about this. Search for imagemagick permission and look for gaugau or kegobeer as the poster.
Note that it is possible to encounter this error even if you have permission to execute convert, though that is the most common cause.
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"?
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)?
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.