Super User is a question and answer site for computer enthusiasts and power users. 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've installed successfully on my system, but I'm not sure what to do next...

PHP info says:

APC Support     enabled
Version     3.0.19
MMAP Support    Enabled
MMAP File Mask  no value
Locking type    pthread mutex Locks
Revision    $Revision: $
Build Date  Sep 24 2010 05:10:07 

How do I enable my application to use APC?

share|improve this question
Does it not begin to accelerate the PHP files from the first time each is run? – Breakthrough Oct 7 '10 at 19:38
Is that it? Don't I need to do anything special? How do I know that's its working? – siliconpi Oct 8 '10 at 3:53

If APC is installed correctly, it will be used automatically by all scripts. You should see a speed improvement (usually in the form that your server can sustain more simultaneous page loads).

share|improve this answer

Well, the most basic things, you can cache variables by using:

apc_add('foo', $bar);

And retrieve them with:


You can read more about how to use APC here:

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .