开发者

How to set maximum downloads or sockets or whatever, in Apache and or PHP?

I made a PHP script, running from my localhost, that streams files from a remote server and serves them. I do this so I can rename the files prior to the browser shows the dialog to save them, through header( "filename:..." )

An开发者_开发技巧yway, although the remote server allows many simultaneous file downloads at good rates, when they stream through my local apache/php I can't get more than 6 at the same time.

When I try to download the 7th, the save as dialog appears as soon as the sixth download has finished.

I'm almost sure this is some limit imposed by php.ini or apache's httpd.ini, but don't have a clue about which one is it. do you?


It's your browser limiting the connections... It has nothing to do with Apache or PHP... http://onetipaday.com/2007/07/31/… – @ircmaxell

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜