ini_set('display_errors','1'); ini_set('display_startup_errors','1'); error_reporting(E_ALL); register_shutdown_function(function () { $e = error_get_last(); if ($e && in_array($e['type'], [E_ERROR,E_PARSE,E_CORE_ERROR,E_COMPILE_ERROR])) { header('Content-Type: text/plain; charset=UTF-8'); echo "FATAL @ {$e['file']}:{$e['line']}\n{$e['message']}\n"; } }); The file /home/mertysjn/public_html/index.php is corrupted.