PHP安装编译错误及解决办法-创新互联
今天搭建LAMP环境是编译PHP时出现的错误汇总。
错误:
configure: error: xml2-config not found. Please check your libxml2 installation.解决办法:
yum install -y libxml2-devel错误:
configure: error: Cannot find OpenSSL's解决办法:
yum install -y openssl openssl-devel错误:
checking for BZip2 in default path... not found configure: error: Please reinstall the BZip2 distribution解决办法:
yum install -y bzip2 bzip2-devel错误:
configure: error: png.h not found.解决办法:
yum install -y libpng libpng-devel错误:
configure: error: freetype.h not found.解决办法:
yum install -y freetype freetype-devel错误:
configure: error: mcrypt.h not found. Please reinstall libmcrypt.解决办法:
rpm -ivh "http://www.aminglinux.com/bbs/data/p_w_upload/forum/month_1211/epel-release-6-7.noarch.rpm" yum install -y libmcrypt-devel错误:
configure: error: jpeglib.h not found.解决办法:
yum install libjpeg-devel错误:
configure: error: png.h not found.解决办法:
yum install libpng-devel错误:
configure: error: Cannot find MySQL header files under /usr/local/mysql. Note that the MySQL client library is not bundled anymore!解决办法:
yum install mysql-devel另外有需要云服务器可以了解下创新互联cdcxhl.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。
网页题目:PHP安装编译错误及解决办法-创新互联
链接分享:http://pwwzsj.com/article/djphci.html