All installed, APC confirmed by visiting:

http://gossipfeast.com/apc.php

Authcache installed, settings.php written thus:

$conf['cache_inc'] = './sites/all/modules/authcache/api/authcache.inc';
$conf['authcache'] = array(
  'default' => array(
    'engine' => 'apc',                // apc, memcache, db, file, eacc or xcache
    'server' => array(),             // memcached (host:port, e..g, 'localhost:11211')
    'shared' => TRUE,                // memcached shared single process
    'prefix' => '',                  // cache key prefix (for multiple sites)
    'path' => 'files/filecache',     // file engine cache location
    'static' => FALSE,               // static array cache (advanced)
  ),
);

Debug always reports: cache_render: "n/a (first request?)"

The page never gets stored, which is confirmed by checking apc.php.

I put $is_page_authcache = TRUE; into my page and node tmpl files (not sure if this is right, worth a shot), still no caching.

Any ideas?

Comments

Component:Documentation» Code

Did you ever find solution for this? Does APC work on its own? (apc_store(), apc_fetch())

Version:6.x-1.0-beta6» 6.x-1.0-beta7

Same issue here. Caching doesn't work with APC nor with eAccelerator. I always get cache_render: "First_Page_Request" on Authcache Debug. If I use file it caches OK. If I got to apc.php everything works and I have plenty of memory... but empty. I'd really like to use APC :-(

Can you post your APC settings from php.ini? Also, does apc.php display any entries under "User Cache Entries?"

My APC settings are:

[apc]
extension="apc.so"
apc.enabled=1
apc.shm_segments=1
apc.shm_size=12
apc.ttl=7200
apc.user_ttl=7200
apc.num_files_hint=1024
apc.mmap_file_mask=/home/user/tmp/apc.XXXXXX
apc.enable_cli=1
apc.rfc1867 = 1

I am currently using eAccelerator instead which seems to work.

Version:6.x-1.0-beta7» 6.x-1.0-rc1

I have the same problem. In php.ini I only loaded the extension, with no additional settings. I can't install the other engines on my shared hosting, only have apc that doesn't work, but file works ok.
Any solution insight?

@stephencarr: My first guess would be that your apc.shm_size is too small. Also, try adding in apc.max_file_size and set that to at least 10 (MB).

Status:Active» Closed (fixed)

$conf['authcache'] needs to be $conf['cacherouter']