I am running PHP and nginx and I use a production version of php.ini. So the variable display_error is set to Off and there is a good reason I want it this way. But for certain files I need to enable error reporting. I used ini_set to turn on error reporting. But a simple code snippet like:
<?php
error_reporting(E_ALL);
ini_set("display_errors", 1);
echo "hi"errorrrrr
?>
does not trace the error. It simply returns a HTTP 500 Internal Server Error message. What should I do to enable error reporting?