安装php环境错误解决
程序员文章站
2022-04-25 11:25:11
...
错误: 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 <CURL-DIR>/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
解决: 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 <CURL-DIR>/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
主要是一些库没安装的原因。
上一篇: php遍历目录viewDir函数
下一篇: apache 假死
推荐阅读
-
从解决php错误“Exception thrown without a stack frame in Unk
-
Oracle安装监听器错误的解决方法
-
Linux系统下安装mysql时出现1045,1130错误的解决办法
-
为你解决PHP服务器安装问题
-
怎么配置PHP环境和安装Zendstdio编辑器
-
PHP错误WARNING: SESSION_START() [FUNCTION.SESSION-START]解决方法
-
Windows下安装PHP单元测试环境PHPUnit图文教程_PHP
-
win10环境PHP 7 安装配置【教程】,win10安装配置
-
浅析iis7.5安装配置php环境,浅析iis7.5安装配置
-
DockerPHP: 基于Docker容器化PHP开发环境解决方案