Welcome! Log In Create A New Profile

Advanced

Standard way to log PHP error

Posted by Ryan Chan 
Ryan Chan
Standard way to log PHP error
March 05, 2011 05:50AM
When I was using Apache, PHP error was logged in the apache error log.

Now I am using nginx + fpm, seems display_error() is doing nothing.

1. What would be the standard way to log error then? Using the
error_log directive?
2. Will it cause a problem when serveral fpm instance is trying to
write to the same file?

Thanks.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 133
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready