Linux系统下安装php5.5.6时分,提示缺少libxml2.config

WBOY
Release: 2016-06-13 11:50:40
Original
1072 people have browsed it

Linux系统下安装php5.5.6时候,提示缺少libxml2.config
如题,但是libxml2我已经装过了,并且在目录下可以找得到,没在Linux系统下玩过,现在项目需要,忘大神援助。。。。。。
------解决方案--------------------
重新安装libxml2和libxml2-devel包
yum install libxml2
yum install libxml2-devel -y
安装完之后查找xml2-config文件是否存在
[[email protected] php-5.4.1]#  find / -name "xml2-config"
/usr/bin/xml2-config
------解决方案--------------------
学习了。正好在搞LUNIX!
------解决方案--------------------
使用phpinfo();


看加载上了没有
------解决方案--------------------
命令行下:php -m也可以
------解决方案--------------------
和windows下面一样需要加载php以及相应的模块

Related labels:
source:php.cn
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template