My server is configured using Nginx + PHP + FastCGI. Whenever PHP generates a fatal error, it is logged inside nginx / error.log, but the server reports HTTP Error 500 back to the browser instead of displaying PHP Fatal error in the browser, as is desirable and typical of other settings. I was looking for how to solve this problem, and not fall behind. Does anyone have anything useful? Really appreciate!
OCDev source share