500 Internal Server Error

I have a 500 Internal Server Error on my PHP web application! Is there any way to capture why this error is occurring? The debug mode brings up every tiny detail… Except for the actual error (like syntax errors in PHP files), for said error message

You can enable capture_stderr:

But really, your PHP app should be configured with an error handler which logs somewhere.



PHP frameworks typically do that for you.

1 Like