Home  >  Q&A  >  body text

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

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

伊谢尔伦伊谢尔伦2736 days ago649

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-04-10 14:57:41

    sudo apt-get install libxml2-dev

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

    reply
    0
  • Cancelreply