执行:
./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 @H_404_8@ checking for PHP-fpm log file path... $prefix/logs/PHP-fpm.log @H_404_8@ checking for PHP-fpm pid file path... $prefix/logs/PHP-fpm.pid @H_404_8@ checking for XML configuration @H_404_8@ checking for xml2-config... no @H_404_8@ checking for xml-config... no @H_404_8@configure: error: XML configuration could not be found
@H_404_8@
说明xml没有安装
执行:
yum-yinstalllibxml2libxml2-devel
就解决了
原文链接:https://www.f2er.com/xml/298362.html