天天看點

編譯php 提示XML configuration could not be found

編譯出現的錯誤如下:

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

解決辦法:yum -y install libxml2 libxml2-devel

繼續閱讀