i am fedup. i spent hours to get the errors to display in the server. no lunck. i am on a shared hosting space. below script only shows internal server error when run. but no extra info shown in either chrome > inspect nor in error_log in the file manager in same folder. i need to trouble shoot a large script. but its painfull without error detail.
<?php error_reporting(E_ALL); error_reporting(-1); ini_set('display_errors', 'true'); ini_set("display_errors", "1"); // shows all errors ini_set("log_errors", 1); ini_set("error_log", "/tmp/php-error.log"); echo "hi; ?>
in above simple script, it has a missing double quote. but it only shows internal server error. where can find the error detail stating about the missing quote ?
a search for php-error.log which suppose to be created in above script either does not show any such file in cpanel file manager.