1. 程式人生 > >Job for php-fpm.service failed because the control process exited with error code. See "systemctl st

Job for php-fpm.service failed because the control process exited with error code. See "systemctl st

centos7.2環境下安裝php5.6.17。 啟動失敗。  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