title: PHP: APC enabled, but still doesn't work?
body: <p>On my new Xubuntubox I installed the <code>lamp-server</code> tools, <code>php</code>, <code>php-apc</code>, added the <code>extension=apc.so</code> line to the php.ini and rebootet the system. Apache and PHP seem to work well, but APC doesn't.</p>
  
  <p>So I checked what the apc.php file would say:</p>
  
  <pre><code>No cache info available. APC does not appear to be running.
  </code></pre>
  
  <p>But in the php info it seems to be enabled. Have a look what <code>php -i | grep 'apc'</code> says:</p>
  
  <pre><code>Additional .ini files parsed =&gt; /etc/php5/cli/conf.d/apc.ini,
  apc
  apc.cache_by_default =&gt; On =&gt; On
  apc.canonicalize =&gt; On =&gt; On
  apc.coredump_unmap =&gt; Off =&gt; Off
  apc.enable_cli =&gt; Off =&gt; Off
  apc.enabled =&gt; On =&gt; On             &lt;- it is enabled
  apc.file_md5 =&gt; Off =&gt; Off
  apc.file_update_protection =&gt; 2 =&gt; 2
  apc.filters =&gt; no value =&gt; no value
  apc.gc_ttl =&gt; 3600 =&gt; 3600
  apc.include_once_override =&gt; Off =&gt; Off
  apc.lazy_classes =&gt; Off =&gt; Off
  apc.lazy_functions =&gt; Off =&gt; Off
  apc.max_file_size =&gt; 1M =&gt; 1M
  apc.mmap_file_mask =&gt; no value =&gt; no value
  apc.num_files_hint =&gt; 1000 =&gt; 1000
  apc.preload_path =&gt; no value =&gt; no value
  apc.report_autofilter =&gt; Off =&gt; Off
  apc.rfc1867 =&gt; Off =&gt; Off
  apc.rfc1867_freq =&gt; 0 =&gt; 0
  apc.rfc1867_name =&gt; APC_UPLOAD_PROGRESS =&gt; APC_UPLOAD_PROGRESS
  apc.rfc1867_prefix =&gt; upload_ =&gt; upload_
  apc.rfc1867_ttl =&gt; 3600 =&gt; 3600
  apc.serializer =&gt; default =&gt; default
  apc.shm_segments =&gt; 1 =&gt; 1
  apc.shm_size =&gt; 32M =&gt; 32M
  apc.slam_defense =&gt; On =&gt; On
  apc.stat =&gt; On =&gt; On
  apc.stat_ctime =&gt; Off =&gt; Off
  apc.ttl =&gt; 0 =&gt; 0
  apc.use_request_time =&gt; On =&gt; On
  apc.user_entries_hint =&gt; 4096 =&gt; 4096
  apc.user_ttl =&gt; 0 =&gt; 0
  apc.write_lock =&gt; On =&gt; On
  </code></pre>
  
  <p>As expected <code>php -m | grep 'apc'</code> also finds <code>apc</code>.</p>
  
  <p>Do you know what is missing, that I can't use it correctly?</p>