Downloading large files (~400MB) stops prematurely in production, works fine on development server
<p>Recently I ran into a problem on larger file downloads in PHP. PHP is running as CGI on zeus server. I tried everything but all in vain.  like:</p>

<pre><code>set_time_limit(0);
ini_set('max_execution_time',0);
</code></pre>

<p>The problem is that after downloading about 4-5MB, downloading stops without any warning. However, when I run the code locally everything works like a charm. Help me get out of this problem.</p>
