源码安装PHP报错:error: xml2-config not found.
更新:HHH   时间:2023-1-7


在源码安装 LAMP 环境编译安装 PHP 的时候,./configure 后出现  configure: error: xml2-config not found. Please check your libxml2 installation. 错误

查看软件包:

其实是缺少libxml2-devel 组件,通过yum安装libxml2-devel即可

okey!!!

返回web开发教程...