安装nagios中php安装报错 configure error xml2
安装nagios时其中少不了角色php安装时报错:configure error xml2-config not foud. please check your libxm2 installation
解决办法:
重新安装libxml2和libxml2-devel
yum install libxml2
yum install libxml2-devel -y
然后再重新安装php
cd php-5.4.10
./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs
make && make install
页:
[1]