<p>Due to a limitation at a Client's server environment (they do not have php-redis enabled) I need to imitate that setup with Nitro. I want to disable PHP's redis extension (C) and use <a href="https://github.com/predis/predis" rel="nofollow noreferrer">https://github.com/predis/predis</a> instead.</p>
<p>I found the <code>nitro extensions</code> command, but this a.) seems to <strong>enable</strong> extension only and b.) does not list redis.</p>
<p>Any suggestions where to start?</p>
<p>Thanks,
Matthias</p>

CC BY-SA 4.0
2021-09-13T19:14:22.937Z
Your client has a redis server available to use but not the client library? That seems odd? In most distros it's literally a command or 2 a way to get the client library versus going to down a rabbit hole...   if you're planning on using it with Craft you'd also probably need to figure out how to get it work with the  yii2-redis extension.  If your client is pushing back, I'd ask them if spending half a day messing around with this is worth their time or just spend 10 minutes installing the client library?
RitterKnight
CC BY-SA 4.0
2021-09-13T19:17:34.507Z
To get prerdis inside a Craft project, you can use composer: ``composer require predis/predis``
RitterKnight
CC BY-SA 4.0
2021-09-14T08:25:38.570Z
@RitterKnight: yes, it is weird, but it seems we are getting it (php-redis) now. so you can ignore the question. The distribution btw. is RHEL (don't know which version) without any foreign repos. Thanks anyway!
Matthias Redl-Mann
CC BY-SA 4.0
2021-09-20T23:22:42.323Z
Going to go ahead and vote to close this as it seems to be a non-issue, now.
Brad Bell
CC BY-SA 4.0
2021-09-21T13:11:32.693Z
I’m voting to close this question because It's not an issue anymore.
Matthias Redl-Mann
<nitro><redis>
Disable php-redis in Nitro
# Disable php-redis in Nitro

(Asked by: username_0 on 2021-09-13)

Due to a limitation at a Client's server environment (they do not have php-redis enabled) I need to imitate that setup with Nitro. I want to disable PHP's redis extension (C) and use <https://github.com/predis/predis> instead.

I found the `nitro extensions` command, but this a.) seems to **enable** extension only and b.) does not list redis.

Any suggestions where to start?

Thanks,
Matthias

**Tags:** nitro, redis

> **Comments:**
> **username_1**: Your client has a redis server available to use but not the client library? That seems odd? In most distros it's literally a command or 2 a way to get the client library versus going to down a rabbit hole...   if you're planning on using it with Craft you'd also probably need to figure out how to get it work with the  yii2-redis extension.  If your client is pushing back, I'd ask them if spending half a day messing around with this is worth their time or just spend 10 minutes installing the client library?  
> **username_1**: To get prerdis inside a Craft project, you can use composer: ``composer require predis/predis``  
> **username_0**: @username_1: yes, it is weird, but it seems we are getting it (php-redis) now. so you can ignore the question. The distribution btw. is RHEL (don't know which version) without any foreign repos. Thanks anyway!  
> **username_2**: Going to go ahead and vote to close this as it seems to be a non-issue, now.  
> **username_0**: I’m voting to close this question because It's not an issue anymore.  

---

## 0 answers

