php常见错误总结
错误一: Configure: error: xml2-config not found. Please check your libxml2 installation.
创新互联建站主要从事网站设计制作、网站建设、网页设计、企业做网站、公司建网站等业务。立足成都服务红安,十年网站建设经验,价格优惠、服务专业,欢迎来电咨询建站服务:13518219792
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)
当前名称:php常见错误总结
地址分享:http://ybzwz.com/article/gigcoo.html