在源码安装 LAMP 环境编译安装 PHP 的时候,./configure 后出现 configure: error: xml2-config not found. Please check your libxml2 installation. 错误
查看软件包:
其实是缺少libxml2-devel 组件,通过yum安装libxml2-devel即可
okey!!!