Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what is APC internal debugging?

Tags:

php

apc

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!

like image 933
ThinkingMonkey Avatar asked Jan 02 '12 13:01

ThinkingMonkey


1 Answers

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.

like image 113
phihag Avatar answered Nov 07 '22 02:11

phihag