libxml2 not found. Please check your libxml2 installation

今天在编译安装 php 的时候报错了 error: libxml2 not found. Please check your libxml2 installation,大概意思就是说,缺少了 libxml2 包。在 php 编译过程中依赖,需要用到 libxml2 包,但是程序找不到,所以就报错了,下面是详细的解决方案。

Ubuntu/Debian系统:

apt-get install libxml2-dev

Centos/Redhat系统:

yum install libxml2-devel

给TA打赏
共{{data.count}}人
人已打赏
其它

nginx: [error] invalid PID number "" in "/usr/local/nginx/nginx/logs/nginx.pid"

2020-11-26 14:26:40

其它

-bash: rz: command not found

2020-11-27 17:14:49

0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索