Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 have a little problem with my apache centos server with php 5.0 and mysql. When I open multiples files, sometimes, it show de pages .php for download. I think that PHP have a problem, because it happens only when I open many browser windows (like 30). How can I solve this issue?

share|improve this question

When you download the page, what do you see in the file you downloaded? I bet you'll find some kind of error message.

The problem is probably that opening many windows creates some kind of error condition, and the PHP code that generates the error message for that condition fails to output a proper HTTP header. Without a proper HTTP header, the browser doesn't know that it is supposed to display the error message and instead offers you to download it.

share|improve this answer

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.