您的位置:首页 > 编程语言 > PHP开发

LAMP环境安装1之php编译报错

2014-04-18 19:04 405 查看
安装php时的报错
checking libxml2 install dir... no
checking for xml2-config path...
configure: error: xml2-config not found. Please check your libxml2 installation.

检查lilbxml2的安装路径是否正确。

--with-libxml-dir=/usr/local/libxml2/

去/usr/local/路径看看是否有libxml2这个文件夹
本文出自 “tenjhon” 博客,请务必保留此出处http://tengzhaoyong.blog.51cto.com/6704978/1398081
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: