安装php时的报错
checking libxml2 install dir... no
checking for xml2-config path...
configure: error: xml2-config not found. Please check your libxml2 installation.



检查lilbxml2的安装路径是否正确。

--with-libxml-dir=/usr/local/libxml2/

去/usr/local/路径看看是否有libxml2这个文件夹