http error 500 - файл PHP

//500 Internal Server Error is shown if your php code has fatal errors but error displaying is switched off. You may try this to see the error itself instead of 500 error page:

//In your php file:
ini_set('display_errors', 1);
loneWolf_sage