does anyone know how to change redis config from TCP to Unix?
my redis-cli on unix is working now.
my only problem is how do I make it work with Laravel
It looks like the redis.conf file (probably /etc/redis/redis.conf) is where you can setup redis to listen on a TCP socket instead of just a Unix socket (if it's not already listening on both). Source: https://github.com/NodeRedis/node_redis/issues/204
I have a problem as well. A customer has a webhost that offers redis through a unix connection, but not tcp. Is there any way to make this working in Laravel without too much hassle?
Specifies the protocol used to communicate with an instance of Redis. Internally the client uses the connection class associated to the specified connection scheme. By default Predis supports tcp (TCP/IP), unix (UNIX domain sockets) or http (HTTP protocol through Webdis).
path [string - default: not set]
Path of the UNIX domain socket file used when connecting to Redis using UNIX domain sockets.