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

WBOY
Release: 2016-06-06 20:43:55
Original
1527 people have browsed it

我用的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看看这两个包里都是哪些文件。

Related labels:
php
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!