Thread Starter
Anonymous User 7326277
(@anonymized-7326277)
Ok, I think it may just be an issue with plugin itself. I’ve manually updated following file:
wp-content/object-cache.php
that is generated by update-dropin command and changed:
$parameters = array(
//'scheme' => 'tcp',
//'host' => '127.0.0.1',
//'port' => 6379
'scheme' => 'unix',
'path' => '/var/run/redis/redis.sock',
);
It now reports as connected and works normally. How can I check why is plugin, when activating, failing to detect settings?
The only reason for the plugin not to detect settings is if you define them too late in your wp-config.php file, make sure you set them before this comment:
/* That's all, stop editing! Happy blogging. */
Thread Starter
Anonymous User 7326277
(@anonymized-7326277)
So it was PEBKAC after all 😉 Thank you for your support, this resolved the issue. You should consider adding that as a special note to https://wordpress.org/plugins/redis-cache/other_notes/
Great, glad you solved it. Feel free to submit any changes on GitHub: https://github.com/tillkruss/redis-cache