5

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 php.in.
  • 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() ?>
gremo
  • 377

3 Answers3

1

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

gtuhl
  • 181
  • 2
  • 7
0

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.

thinice
  • 4,746
  • 23
  • 38
0

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.

bokan
  • 234