With APCu 4.0.2 there is an issue with the install.
After installing you get these notices.
Notice: Undefined index: start_time in apc_requirements() (line 23 of /var/www/html/cciapp/sites/all/modules/apc/apc.install).
Notice: Undefined index: num_entries in apc_requirements() (line 24 of /var/www/html/cciapp/sites/all/modules/apc/apc.install).
The solution is this patch.
sites/all/modules/apc/apc.install | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sites/all/modules/apc/apc.install b/sites/all/modules/apc/apc.install
index 5277028..806806e 100755
--- a/sites/all/modules/apc/apc.install
+++ b/sites/all/modules/apc/apc.install
@@ -20,8 +20,8 @@ function apc_requirements($phase) {
if ($apc_enabled) {
$requirements['apc']['description'] = $t('APC has been running for !duration. Currently caching !num_entries entries (!memory_size).',
array(
- '!duration' => format_interval(time() - $cache['start_time']),
- '!num_entries' => $cache['num_entries'],
+ '!duration' => format_interval(time() - $cache['stime']),
+ '!num_entries' => $cache['nentries'],
'!memory_size' => format_size($cache['mem_size']),
)
);
Comments
Comment #2
seanrThis should actually be needs review, since although you fixed it for yourself, the patch hasn't been committed to the module yet. ;-)
Comment #3
Anonymous (not verified) commentedworks for me..
I've added the patch
Comment #4
R.Muilwijk commentedA patch was committed for https://www.drupal.org/node/1984180. Please have a look whether this fixes it for you.