• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 How can I use APCu and PHP OPcache?

#1
Hello,

installed PHP 7 with Zend OPcache support and APCu as user cache.

My question: How can I use APCu?

If I add this to my config.php I get an error message (An unexpected error occurred. Please try again later.):

Code:
$config['cache']['enabled'] = true;
$config['cache']['backend'] = 'Apc';
 

Mike

XenForo developer
Staff member
#2
The APC cache backend explicitly looks for an extension called "apc" so it's unlikely to work with "apcu". You should be able to confirm this by looking at the error log in the control panel.