安装php时的报错:configure: error: xml2-config not found. Please check your libxml2 installation.
解决方案:
重新安装libxml2和libxml2-dev包
apt-get install libxml2
apt-get install libxml2-dev
安装完之后查找xml2-config文件是否存在
[root@test php-5.5.9]# find / -name "xml2-config"
/usr/bin/xml2-config
如果存在的话重新安装php
[root@test php-5.5.9]# ./configure
之后再进行编译
make && make instal
3万+



被折叠的 条评论
为什么被折叠?



