189 8069 5689

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安装编译错误及解决办法-创新互联
URL标题:http://cdxtjz.cn/article/djphci.html

其他资讯