转自:https://blog.csdn.net/qq_16885135/article/details/78130281 1.从 https://pecl.php.net/package/imagick 下载源码包,并解压 2.phpize 提示: #The program 'phpize' is currently not installed. You can install it by typing: -dev 使用 sudo apt install php7.0-dev 安装 php7.