I recently changed server.
This my new server using FastCGI to interpret PHP.
However, much that I brought from the old server is giving this error again, and the problem is that FastCGI does not return the error to debug, it just returns a "500 internal server error".

With that I'm not exactly sure what line to correct the error occurred.
I have scripts immense, which makes unfeasible review the entire a Code.

Already tried using

try {.. }

in known errors, but still FastCGI returns the 500 error.

I'm not a server administrator to power on mecher environment variables, is there any way to work around these errors from within PHP?