PHP 500 error reporting solution
1. First look at the error log file path specified by nginx error.log, find the log file, look at the information inside
2, and then look at the path of PHP error log specified in php-fpm.conf
as follows
php_flag[display_errors] = off php_admin_flag[log_errors] = on php_admin_value[error_log] = /data/logs/fpm-php.log
the in php.ini is invalid. Use PHP FPM to control it
Similar Posts:
- [Solved] Nginx Log Error: open() “/opt/Nginx/nginx/nginx.pid” failed (2: No such file or directory)
- [Solved] Nginx: [error] open() "/usr/local/Nginx/logs/Nginx.pid
- PHP FPM and Nginx start normally, page 502 Error [How to Solve]
- [Solved] Nginx Restart Error: nginx: [error] open() “/usr/local/nginx/logs/nginx.pid” failed (2: No such file or directory)
- nginx Server Start Error: nginx: [emerg] open() “/var/run/nginx/nginx.pid” failed (Linux Restart)
- Nginx Error: nginx: [error] CreateFile() “D:\nginx-1.20.1/logs/nginx.pid” failed (2: The system cannot find the file specified)
- [Solved] Nginx restart error: nginx: [error] open() “/run/nginx.pid” failed (2: No such file or directory)
- Nginx Error: nginx: [emerg] “server” directive is not allowed here in
- nginx: [error] CreateFile() “D:\nginx-1.20.1/logs/nginx.pid“ failed (2: The system cannot find the
- Nginx normal user startup configuration error: && springboot-swagger & Unable to infer base url