参考文章:http://blog.csdn.net/anljf/article/details/6981247
configure: error: xml2-config not found. Please check your libxml2 installation.
检查是否安装了libxm包
[root@XKWB3403 PHP-5.3.8]# rpm -qa |grep libxml2
libxml2-2.6.26-2.1.12
libxml2-python-2.6.26-2.1.12
重新安装libxml2和libxml2-devel包
yum install libxml2
yum install libxml2-devel -y
# ./configure --prefix=/usr/local/libxml2# make# make install或者yum -y install libxml2 libxml2-devel‘