ImageMagick: sh: /convert: No such file or directory

Published by

Posted on September 04, 2011

you should first verify imagemagick has been installed properly. Via the command line you can run “which convert” This should return the location of the binary for convert.

then run /usr/bin/convert -version . Please understand this was our return path for convert. Use the path returned from the which.

If imagemagick is installed properly , and you are attempting to run code via PHP. The no such file or directory can be a result of PHP Safe mode being on and open_basedir in effect.

Add the convert location to your open_basedir
Example :
open_basedir= /home/www:/usr/bin