Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question

Are you sure it's not your local machine limiting your downloads rather than the remote server? These settings can be changed in apache (and also PHP I think), but the default setting isn't 6 (as far as I know)

share|improve this answer
actually you're right – Petruza Dec 21 '10 at 20:03

It's my browser limiting the connections... It has nothing to do with Apache or PHP...

share|improve this answer
Please post comments as comments, not answers. This is a question and answer site, not a discussion forum. – John Gardeniers Dec 21 '10 at 20:28
It's not a comment, it's the answer, I found it so I post it here. – Petruza Dec 21 '10 at 20:46
Glad you resolved this issue. Please be sure to mark your answer as "accepted" when you are able. – jscott Jul 23 '12 at 12:33

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.