¿How to set maximum downloads or sockets or whatever, in Apache and or PHP?
Posted
by
Petruza
on Server Fault
See other posts from Server Fault
or by Petruza
Published on 2010-12-21T18:15:28Z
Indexed on
2010/12/21
18:55 UTC
Read the original article
Hit count: 525
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?
© Server Fault or respective owner