list123342 发表于 2018-12-23 10:18:03

php常见错误总结

  错误一: Configure: error: xml2-config not found. Please check your libxml2 installation.
  Solutions :
  yum install libxml2 libxml2-devel (For Redhat & Fedora)
  

  

  错误二: Checking for pkg-config… /usr/bin/pkg-config
  configure: error: Cannot find OpenSSL’s
  Solutions :
  yum install openssl openssl-devel
  

  

  错误三:Configure: error: Please reinstall the BZip2 distribution
  Solutions :
  yum install bzip2 bzip2-devel
  

  

  错误四: Configure: error: Please reinstall the libcurl distribution -
  easy.h should be in /include/curl/
  Solutions :
  yum install curl curl-devel (For Redhat & Fedora)
  # install libcurl4-gnutls-dev (For Ubuntu)
  

  

  错误五:Configure: error: libjpeg.(also) not found.

  Solutions :
  yum -y install gd
  yum -y install gd-devel
  yum install libjpeg libjpeg-devel
  

  

  错误六: Configure: error: libpng.(also) not found.
  Solutions :
  yum install libpng libpng-devel
  

  

  错误七: Configure: error: freetype.h not found.
  Solutions :
  yum install freetype-devel
  Configure: error: Unable to locate gmp.h
  Solutions :
  yum install gmp-devel
  

  

  错误八: Configure: error: Cannot find MySQL header files under /usr.
  Note that the MySQL client library is not bundled anymore!
  Solutions :
  yum install mysql-devel (For Redhat & Fedora)
  




页: [1]
查看完整版本: php常见错误总结