# How to check if Redis is used in NC

**URL:** <https://help.nextcloud.com/t/how-to-check-if-redis-is-used-in-nc/22268>\
**Category:** ℹ️ Support\
**Created:** [October 12, 2017, 10:20pm UTC](https://help.nextcloud.com/t/how-to-check-if-redis-is-used-in-nc/22268 "2017-10-12T22:20:41Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![Guillermo](https://help.nextcloud.com/user_avatar/help.nextcloud.com/guillermo/32/19030_2.png) [@Guillermo](https://help.nextcloud.com/u/Guillermo)\
**Post date:** [November 15, 2019, 12:57pm UTC](https://help.nextcloud.com/t/how-to-check-if-redis-is-used-in-nc/22268/9 "2019-11-15T12:57:02Z")

</div>

Problem solved  
To use php-redis from Sury repositories:

> apt-get install php-redis -t stretch

Then

> phpenmod redis  
> systemctl restart php7.3-fpm

And set the permissiones in redis.sock to 770

> chmod 770 /var/run/redis/redis.sock

Now redis is working with nextcloud and can check it using redis-cli

> redis-cli -s /var/run/redis/redis.sock monitor

---

_[View the full topic](https://help.nextcloud.com/t/how-to-check-if-redis-is-used-in-nc/22268)._
