How to setup WordPress with Redis Caching CentOS 7.6

Date posted : 03/05/2019

In this post, we will explain, how to setup WordPress with Redis Caching with simple steps.

1. Install Redis on a CentOS server

yum install redis

Start and enable Redis on system boot:

systemctl start redis.service
systemctl enable redis.service

2. Install Redis PHP extension

yum install php-pecl-redis

Install Redis Caching Plugin in WordPress

WordPress Dashboard >> Go to Plugins > Add new
Search for Redis and install the Redis Object Cache
Go to Plugins again and enable the Redis Object Cache

Go to Settings > Redis and click on Enable Object Cache
The default configuration should work out of the box since the default Redis listening address is 127.0.0.1 and the default listening port is 6379.

Thanks for using pheonix solutions.

You find this tutorial helpful? Share with your friends to keep it alive.

Leave a Reply

This website stores cookies on your computer. These cookies are used to provide a more personalized experience and to track your whereabouts around our website in compliance with the European General Data Protection Regulation. If you decide to to opt-out of any future tracking, a cookie will be setup in your browser to remember this choice for one year.

Accept or Deny