我最近从 PHP 7.4 升级到了 PHP 8.0。在我重新启动之前,它似乎运行良好。看来我的 PHP 服务没有加载。
user@server:~$ sudo systemctl status php8.0-fpm
● php8.0-fpm.service - The PHP 8.0 FastCGI Process Manager
Loaded: loaded (/lib/systemd/system/php8.0-fpm.service; enabled; vendor preset: enabled)
Active: failed (Result: timeout) since Sun 2022-04-03 23:11:55 CAT; 8min ago
Docs: man:php-fpm8.0(8)
Process: 2628 ExecStopPost=/usr/lib/php/php-fpm-socket-helper remove /run/php/php-fpm.sock /etc/ph
Process: 2611 ExecStart=/usr/sbin/php-fpm8.0 --nodaemonize --fpm-config /etc/php/8.0/fpm/php-fpm.c
Main PID: 2611 (code=killed, signal=TERM)
Apr 03 23:10:25 server.net systemd[1]: Starting The PHP 8.0 FastCGI Process Manager...
Apr 03 23:11:55 server.net systemd[1]: php8.0-fpm.service: Start operation timed out. Termina
Apr 03 23:11:55 server.net systemd[1]: php8.0-fpm.service: Failed with result 'timeout'.
Apr 03 23:11:55 server.net systemd[1]: Failed to start The PHP 8.0 FastCGI Process Manager.
这是 Ubuntu 18.04 上的 LAMP 安装