php5.2.17安装ImageMagick-7.0.1-6.tar.gz报错
@军哥,求救!ImageMagick之前的版本有漏洞,我用lnmp1.3安装,如果是php5.6就能成功,php5.2.17就报如下错误:
(php5.2.17用lnmp1.2安装ImageMagick旧版本不报错,是不是php5.2.17不支持ImageMagick7.0以上???)
php5.2.17怎么安装ImageMagick7.以上版本??
checking for PHP prefix... /usr/local/php
checking for PHP includes... -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/php/lib/php/extensions/no-debug-non-zts-20060613
checking for PHP installed headers prefix... /usr/local/php/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking whether to enable the imagick extension... yes, shared
checking whether to enable the imagick GraphicsMagick backend... no
checking ImageMagick MagickWand API configuration program... found in /usr/local/imagemagick/bin/MagickWand-config
checking if ImageMagick version is at least 6.2.4... found version 7.0.1 Q16 HDRI
configure: error: Cannot locate header file magick-wand.h
make: *** No targets specified and no makefile found.Stop.
imagick install failed! php 5.2应该是不支持 imagemagick7
页:
[1]