执行:
./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.confchecking 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-yinstalllibxml2libxml2-devel
就解决了
原文链接:https://www.f2er.com/xml/298362.html