hi, i just upgrade my site to drupal 6.x and i need to use image 6.x.
i followed the installation instructions, but still i got an error trying to use imagemagick (gd works fine). the message says:
ImageMagick reported an error:
sh: /convert: No such file or directory
my open_basedir is: /var/www/sites/manager:/usr/lib/php:/tmp:/usr/share/pear:/var/lib/dtc/etc/dtc404:/usr/share/php:/usr/local/lib/php/phplib:
~$ /var/www/sites/manager/bin/convert -version
Version: ImageMagick 6.2.4 02/10/07 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2005 ImageMagick Studio LLC
basically, i have the same problem as greenbuilder in http://drupal.org/node/169603
please help :)
thanks..
Comments
Comment #1
toxiclung commentedcan anyone help?
Comment #2
Hetta commentedJust on an off-chance: have you moved your imagemagick.inc to /includes/ ?
Comment #3
toxiclung commentedyes i did:
Comment #4
fzwoch commentedDouble check the configured path of the convert executable. The error message shows that it tries to run "/convert". Until you have copied the program there by yourself this is most likely to fail. Most operating systems do not have this binary in the root "/" directory.
EDIT: Just read about the other issue you have linked. I'm not familiar with open_basedir and even less in combination with proc_open. Usually the convert binary lies somwhere at "/usr/local/bin/convert" or similar. I could image that if that directory is restricted that a PHP proc_open call won't have access there too. If it is disallowed to read the directory with the binary it can't execute it.
Comment #5
sun"convert" refers to the ImageMagick executable, which must be located in and properly defined for your system. If you do not understand what this means, please use the GD library instead, which is usually built-in and shipped with PHP, and needs no further configuration.
Comment #6
aswathyajish commentedI also faced the same issue in drupal 9.
I got the solution - In this page "/admin/config/media/image-toolkit", select the radio button "ImageMagick image toolkit" and remove the path already exist in the field "Path to the package executables". Again select the radio button "GD2 image manipulation toolkit" and save configuration.