Home >Backend Development >PHP Tutorial >安装PHP时显示,xml2-config not found怎么办?

安装PHP时显示,xml2-config not found怎么办?

WBOY
WBOYOriginal
2016-06-06 20:43:551558browse

我用的Debian 7 ,系统本身已经装好了libxml2,但是PHP进行./configure是却显示找不到xml2-config,而且我也加了--with-xml-dir=/usr/lib/

回复内容:

我用的Debian 7 ,系统本身已经装好了libxml2,但是PHP进行./configure是却显示找不到xml2-config,而且我也加了--with-xml-dir=/usr/lib/

sudo apt-get install libxml2-dev

你可以用dpkg -L libxml2dpkg -L libxml2-dev看看这两个包里都是哪些文件。

Statement:
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