imagick环境安装(Linux)
下载html2fpdf包:
链接: /s/1pAzFuIKi0JK4h6PfmiETpg 提取码: a3jd
tar –zxvf ImageMagick-6.9.10-12.tar.gzcd ImageMagick-6.9.10-12./configure --prefix=/usr/local/imagemagickmake && make install
下载安装Imagick
wget /get/imagick-3.1.0RC1.tgztar -zxvf imagick-3.1.0RC1.tgzcd imagick-3.1.0RC1ln -s /usr/local/imagemagick/include/ImageMagick-6 /usr/local/imagemagick/include /ImageMagick/usr/local/php/bin/phpize ./configure --with-php-config=/usr/local/php/bin/php-config --with-imagick=/usr/local/imagemagickmake && make installyum install ImageMagick-devel //必须安装,否则调用$im->readImage会出现500错误
将h