↑ ↓ select, Enter open, Esc close

Check the Redis Object Cache status in WordPress

Adjust the values, the command updates live
user@server
wp redis status --path=/var/www/vhosts/example.com/httpdocs

Shows whether the object-cache.php drop-in is installed and up to date and whether the connection to Redis works, plus host, port, database and prefix. The command only exists when the Redis Object Cache plugin is active. wp redis enable creates the drop-in, wp redis disable removes it.

Note: Run it as the subscription’s system user, not as root, otherwise newly created files end up owned by root.

Open question before approval: Prüfen, dass die Ausgabe von wp redis status in der aktuellen Plugin-Version wie beschrieben aussieht (Status, Drop-in, Verbindungsdaten).

Also searched as

  • is wordpress using redis
  • redis object cache connected
  • object-cache.php active

Related one-liners

All in Redis and Memcached

Read first, then run.

The commands on myline.de act directly on servers, files and databases. A wrong path or placeholder can delete data irreversibly or make a server unreachable.

  • All commands are provided without warranty and are not tested on every system.
  • Understand what a command does before running it, and check every placeholder.
  • Make a backup first and, if possible, try it on a test system.
  • You run commands at your own risk. Liability for damages is excluded to the extent permitted by law.