频道栏目
首页 > 资讯 > 异常处理 > 正文

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

16-01-07        来源:[db:作者]  
收藏   我要投稿
错误: 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

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


相关TAG标签
上一篇:善用php-fpm的慢执行日志slow log分析PHP执行效率和程序BUG
下一篇:PHP去除数组中的空值array去空值
相关文章
图文推荐

关于我们 | 联系我们 | 广告服务 | 投资合作 | 版权申明 | 在线帮助 | 网站地图 | 作品发布 | Vip技术培训 | 举报中心

版权所有: 红黑联盟--致力于做实用的IT技术学习网站