php.ini:
error_reporting = E_ALL
display_errors = Off
log_errors = On
error_log = / var/errors.log
but errors.log is blank, and errors are not logged.
then I found the error message of php in the error log of nginx. Why? How should I correct the error if I want to record it in the specified log?