There was a problem loading the comments.

How to Configure Redis in DirectAdmin

Support Portal  »  Knowledgebase  »  Viewing Article

  Print

Redis is like a turbocharger for websites. It helps them load faster by keeping vital information handy, so when you visit a site, it's like taking the express lane instead of sitting in traffic.

It operates by storing frequently accessed data in memory, making websites load faster for users.
Redis is available only in our premium DirectAdmin plans. You can see our premier plans here!

How to Setup Redis in DirectAdmin.

Before you begin, please get in touch with our team to enable Redis on your premier web hosting account.

 

1. Log into the client account as a user, head to Advanced Features > Redis
e5472fd10c5eaeb256153e739619bb6914adc5a3508f83fdf4efef8274ec6130b23872315d80436a?t=2074ba54c557d7966f4b3bcad0aa1077

 

2. Enable Redis, and also copy the path to the Redis socket file (You will require this later on)

3ceb6a49ee2f32e37b83bdc9463f49cb76665dd4d5b9f7a963577c67aee8155f7dd92354355a147b?t=13aa7de659279eb2df10c71daf141d52

 

3. Return to the control panel and head to Select PHP version under Extra Features.

3a25776a0481659e3019a30c57fc7f1c8caaaac8b8f275b901acbb4e6f13edf4730b21092190c942?t=a879751a44680b988dde23e6751fd5e6


4. Under the Extensions option, tick the checkbox for Redis.

08bad214561f97dfdded7a90f041d8a23bfbffc07e8dbc04bbc105afcabe3e6630bb3bf1f46447af?t=7dfb8947c3b32d875b58b55352c37682

 

5. Log into the WordPress site and head to the Litespeed cache plugin (If it isn't available, install it by following this guide here.) and click Cache.

2b5de43298cb7618399d747cdd1116673776faaea7b3f8788fc29fb0c315da93f3747eda3683336c?t=708a024b6382682435b512df894554e4

 

6. Click on the Object tab.
-Ensure the Object cache is set to ON
-Ensure the Method is set to Redis

-Enter the Path to socket file (from step 4) into the Host
-Ensure the port is set to 0
Once complete - scroll down and click Save Changes.

9de6f10ad727e0ca277a70d6dec31f465837419a21469f20d9dea5fcc46880c77958ba4532674b85?t=bf958122f8631a6a49158de974dddcba

 

7. On the same page, under status.
-Redis Extension needs to be Enabled
-The Connection Test needs to have been Passed

If those options are not showing as enabled/passed, then they are not configured correctly.

86b20dbfaed5791972f76aae19b9928e044e437963c2f253c874b3bcc860b5429bbfd5f6d3fb3c02?t=fbe411bebe791ab50353376059f6442f



Share via
Did you find this article useful?  

Related Articles

Tags

© DreamIT Host