I installed Redis cache on my Debian 12 server.
I followed some instructions, and they say I need to add this in config.php:
I did that, and my forum seems to work.
But is that the correct way, or is
I followed some instructions, and they say I need to add this in config.php:
Code:
// --- Redis cache configuration for phpBB ---if (!isset($cache)) { $cache = [];}$cache['redis'] = [ 'class' => '\phpbb\cache\driver\redis', 'host' => '127.0.0.1', 'port' => 6379, 'password' => '', // fill in if you set a Redis password 'db_index' => 0,];// Set Redis as cache driver$phpbb_cache_driver = 'redis';
But is that the correct way, or is
$acm_type = 'phpbb\\cache\\driver\\redis';
enough?Statistics: Posted by SpIdErPiGgY — Sun Jun 08, 2025 4:34 am