Cannot configure Redis on W3 Total Cache
-
Hi there,
I am trying to configure W3TC to work with redis but I don’t seem to manage it. And by that, I mean that redis is not selectable in the General Settings’ drop-down menus (eg. in
General Settings->Object Cache->Object Cache Method (Multiple Servers->Redis
). (I’m not sure why redis is only shown in Multiple Servers grouping, but that’s a different topic, I assume…). In fact, the only available option in the object cache section is “Shared Server->Disk”.I’m following this FAQ: https://github.com/W3EDGE/w3-total-cache/wiki/FAQ:-Installation:-Redis-Server
My server is running on SmartOS (I don’t think it should be a problem, since it’s a UNIX system and should be working like any other UNIX-like system), redis is installed and listening on localhost:6379, and the password has been set for W3TC_CONFIG_CACHE_REDIS_PASSWORD.
redis-cli
responds with PONG when pinged on localhost (after authentication of course).Ideally I would want to make it work for a listening socket, but when I provided the socket path to W3TC_CONFIG_CACHE_REDIS_SERVERS variable it wouldn’t work either, and for the moment I have a bigger problem to solve.
Here’s my config (password is obviously masked): https://pastebin.com/8N07gFef.
What I see is that
DOCROOTPATH/plugins/w3-total-cache/ini/db-config.php
doesn’t seem to be read by anyone (ls -lua
is not updated, ever). The file is owned by the same user that nginx and php-fpm are running, and is readable by them.If I don’t manage to solve it within the two coming days, I’ll have to try a different plugin because the site should be aired on this Friday…:(
Any help would be appreciated, so thanks in advance!
George
- The topic ‘Cannot configure Redis on W3 Total Cache’ is closed to new replies.