title: How to configure APC with Symfony2
body: <p>I can't find any documentation as to how to configure APC with Symfony2. I don't want to write any specific code or have anything advanced, just the basic APC setup with Symfony2.</p>
  
  <p>I've uncommented the two lines in app.php and everything seems ok (the site runs for a start).</p>
  
  <p>However...</p>
  
  <p>(1) I hear people talk about "restarting APC" - what does that mean? Can I not just run this any time I want a full clean:</p>
  
  <pre><code>php console cache:clear --env=prod --no-debug
  </code></pre>
  
  <p>(2) In app/config_prod.yml, I see this:</p>
  
  <pre><code>framework:
      router:
          strict_requirements: null
      #validation:
      #    cache: apc
  </code></pre>
  
  <p>...what does uncommenting that do?</p>
  
  <p>It seems too easy just to uncomment the two lines in app.php. SUrely there must be more config options. Again I don't want an advanced setup.</p>
  
  <p>I don't even know if APC is running, but considering the site runs that tells me it is (before it didn't and I needed to install APC in PHP).</p>
  
  <p>When I searched "APC" in the Symfony2 cookbook it returned literally nothing.</p>