安装php环境错误解决
程序员文章站
2022-05-10 17:34:34
...
错误: 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
主要是一些库没安装的原因。
推荐阅读
-
Cannot modify header information错误解决方法_PHP教程
-
Linux+php+apache+oracle环境搭建之CentOS下源码编译安装PHP
-
windows系统php环境安装swoole具体步骤
-
SQL2005 安装时 “性能监视器计数器要求(错误)” 解决方案
-
yum安装LAMP环境与管理,yumlamp环境_PHP教程
-
PHP 开发环境配置(Zend Server安装)_PHP教程
-
PHP错误Notice: Undefined index解决方法
-
PHP开发环境配置(MySQL数据库安装图文教程)_php技巧
-
PHP Parse Error: syntax error, unexpected $end 错误解决办法
-
非集成环境的php运行环境(Apache配置、Mysql)搭建安装图文教程,