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';
 
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.
 
Top Bottom