有的时候php-fpm会意外停掉,所以首先需要检查的是php-fpm的状态,如果是down状态,则需要开启。 systemctl status php-fpm 最好设置一下开机启动:systemctl enable php-fpm