Where to define IM path on webhosting?

MagickWand for PHP is an object-oriented PHP interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning MagickWand for PHP.
Post Reply
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Where to define IM path on webhosting?

Post by fmw42 »

Don't know if this will help, but at my ISP, Godaddy, I have to access it like this to get the IM version:

<?php
system("/usr/local/bin/convert -version");
?>

or

<?php
$IM_version=shell_exec("/usr/local/bin/convert -version");
echo $IM_version
?>

Some ISPs may have it at

/usr/bin/convert -version
Post Reply