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