My web hosting said ImageMagic has been pre-installed on the server. I did a quick search for \"ImageMagick\" in the output of phpinfo() and I found nothing. I can\'t SSH in
Try this:
";
for ($i = 0; $i < sizeof($array); $i++) {
$alist .= "- $array[$i]";
}
$alist .= "";
return $alist;
}
//Try to get ImageMagick "convert" program version number.
exec("convert -version", $out, $rcode);
//Print the return code: 0 if OK, nonzero if error.
echo "Version return code is $rcode
";
//Print the output of "convert -version"
echo alist($out);
?>