1、查看日志
切换到/var/log目录下
[root@localhost ~]# cd /var/log
[root@localhost log]# ls
anaconda chrony grubby mariadb secure yum.log
audit cron grubby_prune_debug messages spooler
boot.log dmesg httpd nginx tallylog
boot.log-20201002 dmesg.old lastlog php-fpm tuned
btmp firewalld maillog rhsm wtmp
切换到php-fpm下,查看php的log日志
[root@localhost log]# cd php-fpm
[root@localhost php-fpm]# ll
total 4
-rw-------. 1 root root 187 Oct 2 15:09 error.log
[root@localhost php-fpm]# cat error.log
[02-Oct-2020 15:09:23] NOTICE: fpm is running, pid 26557
[02-Oct-2020 15:09:23] NOTICE: ready to handle connections
[02-Oct-2020 15:09:23] NOTICE: systemd monitor interval set to 10000ms
2、查看进程
[root@localhost php-fpm