找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索本站精品资源

首页 教程频道 php教程 查看内容

PHP相关系列-安装php环境错误解决

作者:模板之家 2014-11-2 04:03 7414人关注

PHP相关系列-安装php环境错误解决主要是一些库没安装的原因。,PHP相关系列-安装php环境错误解决

错误: configure: error: libevent >= 1.4.11 could not be found 
解决: yum -y install libevent libevent-devel


错误:configure: error: xml2-config not found. Please check your libxml2 installation. 
解决: yum -y install libxml2 libxml2-devel


错误: configure: error: mcrypt.h not found. Please reinstall libmcrypt.  
 解决: yum install libmcrypt libmcrypt-devel 


错误: configure: error: Please reinstall the libcurl distribution - easy.h should be in /include/curl/  
 解决: yum -y install curl-devel 


错误: If configure fails try --with-jpeg-dir=  configure: error: libpng.(a|so) not found. 
解决: yum -y install libpng-devel


错误: /usr/bin/ld: cannot find -lltdl  collect2: ld returned 1 exit status  
解决: yum -y install libtool-ltdl-devel 

 

 主要是一些库没安装的原因。



路过

雷人

握手

鲜花

鸡蛋
原作者: 互联网 来自: 网络收集

全部回复(0)