configure: error: XML configuration could not be found

执行:

./configure --prefix=/usr/local/php --enable-fastcgi --enable-fpm

之后出现  

Running FastCGI Process Manager checks

checking for php-fpm config file path... $prefix/etc/php-fpm.conf
checking for php-fpm log file path... $prefix/logs/php-fpm.log
checking for php-fpm pid file path... $prefix/logs/php-fpm.pid
checking for XML configuration
checking for xml2-config... no
checking for xml-config... no

configure: error: XML configuration could not be found


说明xml没有安装

执行:

yum -y install libxml2 libxml2-devel 

就解决了



posted @ 2014-07-12 22:28  172257861  阅读(201)  评论(0编辑  收藏  举报