linux安装php出现的错误

configure error xml2-config not found. please check your libxml2 installation 

重新安装libxml2和libxml2-devel包, yum安装的时候发现新版本会提示更新,需要更新的可以更新,不要跳过就行了。

[root@rh-linux /]# yum install libxml2

[root@rh-linux /]# yum install libxml2-devel -y

 

安装完之后查找xml2-config文件是否存在

[root@rh-linux /] # find / -name "xml2-config"
/usr/bin/xml2-config



本文转自 IT阿飞 51CTO博客,原文链接:http://blog.51cto.com/itafei/1726408
上一篇:英伟达深度学习学院(DLI)现场教你如何实操深度学习,作为 AI 开发者的你不来看看?


下一篇:微服务的流程自动化测试设计 | 叶婉婷