Verify ImageMagick installation

前端 未结 10 1521
一个人的身影
一个人的身影 2020-11-29 01:16

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

10条回答
  •  Happy的楠姐
    2020-11-29 01:20

    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); ?>

提交回复
热议问题