XF 1.5 How can I use APCu and PHP OPcache?

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
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.
 
I know it is looking for APC:

Code:
Zend_Cache_Exception: The apc extension must be loaded for using this backend !
But how can I use a user cache like APCu?
 

Mike

XenForo developer
Staff member
It would require custom development or some code modifications.
 
Top