SAT MAY 23,2009

本文介绍了解决在Debian3.1上编译PHP5.1.2时遇到的libxml2和xml2-config未找到的问题。通过安装libxml2-dev包,可以顺利解决这些编译错误。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

编译PHP出错关于xml2-config

checking for xml2-config path…
configure: error: xml2-config not found. Please check your libxml2 installation.

说了上面这就话, 安装下面这个包就好了
libxml2-dev

When compiling php 5.1.2 on Debian 3.1 (Sarge) with Apache 2.2.0, I ran into problems with libxml2 and libxml2-config not found errors. After checking the base install, Debian leaves out the libxml2 headers, they can be downloaded using apt-get:

apt-get install libxml2 libxml2-dev

PHP should then compile fine.

参考网站:http://www.51toria.cn/?p=48

 

httpd.conf在/usr/local/apache2/conf里

参考网站:http://www.phpwind.net/read-htm-tid-401235.html

 

httpd: Could not reliably determine the server's fully qualified domain name
apache,重新启动后,回出现上面的错误,只要把/conf/httpd.conf文件的#ServerName 前的#去掉就好了。

参考网站:http://hi.baidu.com/mmxcq/blog/item/33df160826bdf0920b7b82c6.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值