Have you actually installed redis (the server)? You installed the php predis package to interface with it, but didn't mention whether you actually installed redis.
Oct 25, 2017
6
Level 1
How to start redis on mac? [Solved]
I am trying to get redis working in my Laravel project on Mac.
Here is what I did so far:
-
I ran "composer require predis/predis" succesfully
-
I can see the predis folder in vendor folder
-
My CACHE_DRIVER has been set to redis in the cache.php and .env file
When I try to run redis in my project, I get the following error:
Connection refused [tcp://127.0.0.1:6379]
Based on what I read online, it seems like my redis server is not started. How can I start it?
Please or to participate in this conversation.