加入收藏 | 设为首页 | 会员中心 | 我要投稿 云计算网_泰州站长网 (http://www.0523zz.com/)- 视觉智能、AI应用、CDN、行业物联网、智能数字人!
当前位置: 首页 > 站长学院 > PHP教程 > 正文

PHP编译安装时常见错误解决措施

发布时间:2022-06-09 15:23:46 所属栏目:PHP教程 来源:互联网
导读:这篇文章主要介绍了PHP编译安装时常见错误解决办法,本文涵盖了PHP编译安装中的大多数错误,同时给出解决方法,需要的朋友可以参考下 This article is post on https://coderwall.com/p/ggmpfa configure: error: xslt-config not found. Please reinstall the
  这篇文章主要介绍了PHP编译安装时常见错误解决办法,本文涵盖了PHP编译安装中的大多数错误,同时给出解决方法,需要的朋友可以参考下
 
  This article is post on https://coderwall.com/p/ggmpfa
 
  configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution:
 
  yum -y install libxslt-devel
  
  yum -y install readline-devel
 
  configure: error: Cannot find pspell:
 
  yum -y install aspell-devel
 
  checking for unixODBC support... configure: error: ODBC header file '/usr/include/sqlext.h' not found!:
  
  configure: error: utf8mime2text() has new signature, but U8TCANONICAL is missing. This should not happen. Check config.log for additional information:
 
  yum -y install libc-client-devel
 
  configure: error: freetype.h not found.:
 
  yum -y install freetype-devel
 
  configure: error: xpm.h not found.
 
  yum -y install libXpm-devel
 
  configure: error: png.h not found.
 
  yum -y install libpng-devel
  
  yum -y install enchant-devel
 
  configure: error: Please reinstall the libcurl distribution - easy.h should be in /include/curl/
 
  yum -y install libcurl-devel
 
  LAOGAO added 20140907:
 
  configure: error: mcrypt.h not found. Please reinstall libmcrypt.
 
  wget ftp://mcrypt.hellug.gr/pub/crypto/mcrypt/libmcrypt/libmcrypt-2.5.7.tar.gz
   
  tar zxf libmcrypt-2.5.7.tar.gz
  cd libmcrypt-2.5.7
  ./configure
  make && make install
  added 20141003:
 
  Cannot find imap
 
  
  yum -y install openldap
 
  yum -y install openldap-devel
 
  configure: error: Cannot find ldap libraries in /usr/lib
 
  cp -frp /usr/lib64/libldap* /usr/lib/
 
  configure: error: Cannot find libpq-fe.h. Please specify correct PostgreSQL installation path
 
  yum -y install postgresql-devel
 
  configure: error: Please reinstall the lib curl distribution
 
  yum -y install curl-devel
 
  configure: error: Could not find net-snmp-config binary. Please check your net-snmp installation.
 
  yum -y install net-snmp-devel
 
  configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution
 
  yum -y install libxslt-devel
 
  checking for BZip2 support… yes checking for BZip2 in default path… not found configure: error: Please reinstall the BZip2 distribution
 
  Fix:
 
  yum -y install bzip2-devel
 
  checking for cURL support… yes checking if we should use cURL for url streams… no checking for cURL in default path… not found configure: error: Please reinstall the libcurl distribution – easy.h should be in/include/curl/

(编辑:云计算网_泰州站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    热点阅读