20

I got a prompt with Enable internal debugging in APC [no]:. While installing APC.

  • what is APC internal debugging?
  • Is is better to keep it enabled?

Tried to do a search but couldn't find an answer!

hakre
  • 193,403
  • 52
  • 435
  • 836
ThinkingMonkey
  • 12,539
  • 13
  • 57
  • 81
  • 4
    Take the default value (no). If you don't know what it is, you're likely not to need it. Until you need it and then you know what it is. And now you know that you can enable it by installing the package. Sounds fair? – hakre Jan 02 '12 at 13:33

1 Answers1

22

This message comes from the pear package of APC. If you set it, APC will be configured with the --enable-apc-debug flag, which means the macro __DEBUG_APC__ is set in the C source code.

This macro will add additional printfs about APC's internal state. Naturally, these are only useful in a testing environment, and should never be activated on a public webserver.

Unless you're editing APC's source code, or tracking down an extremely low-level problem in APC (which is unlikely), you should answer no. You can just hit Enter.

phihag
  • 278,196
  • 72
  • 453
  • 469