here I am years after the answer, but I found a way around this.
For the script I am writing, I created a second script that includes the ini_set () directives, followed by the inclusion for the script I really do .
To do this, here test_run.php
<?php
ini_set('display_errors', '1');
ini_set('error_reporting', E_ALL);
include('./my_script.php');
?>
Bob s source
share