Home > Database > Mysql Tutorial > configure: error: xml2-config not found. Please check your l

configure: error: xml2-config not found. Please check your l

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 15:49:10
Original
1570 people have browsed it

安装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 lib

 

安装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

安装成功的标志是

http://www.cnblogs.com/happyhotty/articles/2539864.html

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
Configure server
From 1970-01-01 08:00:00
0
0
0
How to configure bcmath
From 1970-01-01 08:00:00
0
0
0
phpstorm cannot configure artisan command
From 1970-01-01 08:00:00
0
0
0
How to configure apache to access svn
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template