VPS侦探论坛

 找回密码
 注册
查看: 3290|回复: 1

php5.2.17安装ImageMagick-7.0.1-6.tar.gz报错

[复制链接]
发表于 2016-7-19 14:24:23 | 显示全部楼层 |阅读模式

@军哥,求救!
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!
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2016-7-19 16:47:33 | 显示全部楼层


php 5.2应该是不支持 imagemagick7
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-29 07:30 , Processed in 0.025062 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表