简体   繁体   中英

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:..." )

Anyway, 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?

这是您的浏览器限制的连接...与Apache或PHP无关... http://onetipaday.com/2007/07/31/…– @ircmaxell

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM