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

My local development configuration:

  • Apache 2.2.21 VC9 downloaded from Apache Lounge (as suggested at PHP For Windows website. Manual installation as service.
  • PHP 5.3.8 VC9 x86 Thread Safe, installed manually from the zip file.
  • PHP APC 20110109-5.3-vc9-x86 downloaded from here, then i added extension=php_apc.dll to my
  • Xdebug PHP 5.3 VC9 TS (32 bit), if relevant

Result: sometimes page hangs and i must restart Apache manually from services panel. Anyone lese experienced this? Is my configuration wrong? THis is happening even with a simple phpinfo page:

<?php phpinfo() ?>
share|improve this question
Some log output would greatly help. First thing that comes to mind is some sort of PHP error is happening but not being displayed. What are your error logging/display settings? – WerkkreW Oct 25 '11 at 17:39
I agree, this is not enough info. – Till Nov 25 '11 at 16:16
Btw, I'm not saying APC is not to blame, but before you blame a specific extension, I'd disable all others (especially xdebug) and try one by one if you can reproduce the hangs. – Till Nov 25 '11 at 16:56
Please have a look at my comment on Hope this helps :) – Rashy Jul 13 '12 at 10:05

APC and xdebug generally don't play well together in my experience. I suspect it will run fine with APC if you disable xdebug.

share|improve this answer

Start by ruling out Apache - call 'php -m' to get a list of modules and see how responsive that is.

If it's slow, then you know PHP is to blame. Disable every module and enable each one at a time, running php -m to check response.

Pre 5.3.8 the curl extension caused similar woes, but that was corrected.

share|improve this answer

Use the apc.php file from apc package and use it to see how your APC is using memory.

Give it lot of ram, until he has 20% unused.

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.