ubuntu下安装ghostscript、imagemagick、php扩展php-imagick,通过apt安装ghostscript、imagemagick、pear,然后用pecl安装php-imageick
具体安装如下:
apt-get install ghostscript
apt-get install imagemagick
apt-get install autoconf
apt install php-pear
pecl install imageick
如果提示权限问题,在前面加sudo
, 如下:
sudo apt-get install ghostscript
sudo apt-get install imagemagick
sudo apt-get install autoconf
sudo apt-get install php-pear
sudo pecl install imageick
如果pecl安装有问题,请用apt安装:
sudo apt-get install php-imagick
viencoding.com版权所有,允许转载,但转载请注明出处和原文链接: https://viencoding.com/article/150