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:
set_time_limit(0);
ini_set('max_execution_time',0);
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.