今天安装PHP5.3,在./configure时,发生错误
configure: error: xml2-config not found. Please check your libxml2 installation.
根据错误提示需要安装libxml2
rpm -qa|grep libxml2得知libxml2已经安装过了
只需rpm -ivh libxml2-devel*.*.rpm即可
重新./configure,好了,没有问题了
make
make install
安装完成