一、配置PHP-FPM sed -i "s/user = apache/user = nginx/g" /etc/php-fpm.d/www.conf sed -i "s/group = apache/group = nginx/g" /etc/php-fpm.d/www.conf sed -i 's/;listen.owner = nobody/listen.owner = nginx/g' /etc/php-fpm.d/www.conf sed -i 's/;listen.group = nobody/list…