configure: error: xml2-config not found. Please check your libxml2 installation
来源:互联网 发布:golang 调用c代码 编辑:程序博客网 时间:2024/06/16 00:19
安装PHP时的报错
checking libxml2 install dir… no
checking for xml2-config path…
configure: error: xml2-config not found. Please check your libxml2 installation.
检查是否安装了libxm包
[root@XKWB3403 php-5.3.8]# rpm -qa |grep libxml2
libxml2-2.6.26-2.1.12
libxml2-Python-2.6.26-2.1.12
重新安装libxml2和libxml2-devel包
yum install libxml2
yum install libxml2-devel -y
安装完之后查找xml2-config文件是否存在
[root@XKWB3403 php-5.3.8]# find / -name “xml2-config”
/usr/bin/xml2-config
如果存在的话重新安装php
[root@XKWB3403 php-5.3.8]# ./configure
之后再进行编译
make && make install
0 0
- error: xml2-config not found. Please check your libxml2 installation
- PHP安装错误 configure: error: xml2-config not found. Please check your libxml2 installation.
- PHP安装错误 configure: error: xml2-config not found. Please check your libxml2 installation.
- configure: error: xml2-config not found. Please check your libxml2 installation
- configure: error: xml2-config not found. Please check your libxml2 installation.
- configure: error: xml2-config not found. Please check your libxml2 installation
- configure: error: xml2-config not found. Please check your libxml2 installation
- php安装configure error xml2-config not found. please check your libxml2 installation
- php configure 报错 error: xml2-config not found. Please check your libxml2 installation
- PhP 常见安装错误configure error xml2-config not found. please check your libxml2 installation
- configure: error: xml2-config not found. Please check your libxml2 installation
- Centos下PHP报错:configure error xml2-config not found. please check your libxml2 installation
- linux configure: error: xml2-config not found. Please check your libxml2 installation
- configure: error: xml2-config not found. Please check your libxml2 installation
- configure: error: xml2-config not found. Please check your libxml2 installation
- configure: error: xml2-config not found. Please check your libxml2 installation.
- PHP之——configure: error: xml2-config not found. Please check your libxml2 installation
- configure error xml2-config not found. please check your libxml2 installation 错
- mac osx运行docker出现Cannot connect to the Docker daemon. Is the docker daemon running on this host?
- 保存图片信息到数据库,并可读取后显示在前端
- 怎么在Eclipse中指定jvm?,配置Eclipse.ini文件
- TF-IDF及其算法
- 汇编程序之分离奇偶数
- configure: error: xml2-config not found. Please check your libxml2 installation
- Handler原理剖析
- 我的记录
- bootstrap模板
- Activity的生命周期详解
- 最详细拨打电话方法iOS
- SE16如何删除或修改数据库表
- yum -y install与yum install有什么不同?
- 连接到指定wifi——WIFIManager