编译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