No error logging

I’ve added an error_log direction to the nginx.conf file, restarted
nginx.
However, it’s not logging php errors. What could be wrong?

Maksim Sosnovskiy Wrote:

I’ve added an error_log direction to the
nginx.conf file, restarted nginx.
However, it’s not logging php errors. What could
be wrong?

Make sure your backend sends errors over fastcgi correctly. Although I’m
not sure if it is even possible with php.

Posted at Nginx Forum: