PHP-FPM errors are logged by default in the Nginx error log. To view the nginx error log and access log files, we can use
tail to display the last 200 entries.
sudo tail /var/log/nginx/error.log -n 200
p.s. I increased my AdSense revenue by 200% using AI 🤖. Read my Ezoic review to find out how.