ITPub博客

首页 > IT职业 > IT职场 > linux安装php出现的错误

linux安装php出现的错误

IT职场 作者:jghos 时间:2021-09-09 09:36:52 0 删除 编辑

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


来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/4827/viewspace-2810970/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2019-10-08

  • 博文量
    84
  • 访问量
    645