In script PHP output buffer settings ignored by server
<p>I have been trying to flush the output of certain scripts to the browser on demand, but they do not work on our productions server.</p>

<p>For instance, I tried running the "Phoca Changing Collation tool" (find it on Google) and I don't see any output until the script finishes executing.</p>

<p>I've tried immediately flushing the buffer on other script that works fine on any server but this one using the following code:</p>

<pre><code>echo "something";
ob_flush();
flush();
</code></pre>

<p>Setting "ob_implicit_flush(1);" doesn't help either.</p>

<p>The server is Apache 2.2.21 with PHP 5.2.17 running on Linux. You can see our php.ini file here if that will help:
<a href="http://www.smallfiles.org/download/1123/php.ini.html" rel="nofollow">http://www.smallfiles.org/download/1123/php.ini.html</a></p>

<p>This isn't the only problem we are having with the server ignoring in-script directives.  The server also ignores timeout coding such as:</p>

<pre><code>ini_set('max_execution_time', 900*60);
</code></pre>

<p>AND</p>

<pre><code>set_time_limit(86400);
</code></pre>

<p>Script always times out at the php.ini default.</p>

<p>Doesn't seem to matter if script is executed in IE or Firefox.</p>
