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'm having this strange problem on my c1.medium EC2 instance where Apache serves static files very well (as per tail -f access_log).

But, the php files don't open after a few initial requests, which are successfully fulfilled.

There are enough server resources for apache to run properly. I'm feebly experienced with Apache configuration and this is a strange problem.

share|improve this question
Take a look at the error log. – quanta Oct 13 '11 at 10:07
Had nothing in it. Already checked. – kapeels Oct 13 '11 at 11:00

Is it all php files? If you create a very small PHP file (i.e. "hello world" type), does it slow down too?


share|improve this answer
I ran a phpinfo() and it worked. Surprisingly! – kapeels Oct 13 '11 at 11:22

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.