On the fly error reporting in PHP
<p>When our site used to be on IIS hosting with PHP installed, I had error reporting set to E_NONE and was able to turn it on temporarily by using:</p>

<pre><code>ini_set('display_errors', 1);
</code></pre>

<p>That command seems to no longer work now that we are on Linux/Apache hosting.  I have tried purposely sending bad commands to the server and I get no errors reported.</p>

<p>What am I doing wrong?  Is there any other way to temporarily turn on error reporting without having to edit the php.ini each time?</p>
