How to diagnose «500 Internal Server Error»?

diagnostics

(Dmitry Fedyuk) #1

If your site is in development

Set the proper error reporting for your PHP interpreter:

If your site is already serving customers

You just can follow the advice above: it is fast and useful way to diagnose PHP errors.
But sometimes a error message can contain some sensitive information, so you could be not willing to show it to an arbitrary visitor.
In this case you can see an error message in the PHP error log.


How to diagnose Magento 2 errors
How to diagnose «503 Service Unavailable»?
How to diagnose the «400 (Bad Request)» response on the «/customer/section/load»?
(Dmitry Fedyuk) #2

See also: