Job for php-fpm.service failed because the control process exited with error code. See "systemctl status php-fpm.service" and "journalctl -xe" for details.
查看错误提示:cannot get uid for user 'www'
查看#id www
提示id:www:no such user
解决方案:执行以下语句
curl -s https://raw.githubusercontent.com/oscm/shell/master/os/user/www.sh | bash
再次查看#id www
uid=80(www) gid=80(www) groups=80(www)
启动php-fpm成功
#systemctl start php-fpm.service
本文转载于:https://blog.csdn.net/Cookie_1030/article/details/52439625