8000 Document unix sockets with the session handler · jrtkcoder/phpredis@507ba7c · GitHub
[go: up one dir, main page]

Skip to content

Commit 507ba7c

Browse files
author
Nicolas
committed
Document unix sockets with the session handler
1 parent 05b233b commit 507ba7c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ session.save_path = "tcp://host1:6379?weight=1, tcp://host2:6379?weight=2&timeou
8787

8888
Sessions have a lifetime expressed in seconds and stored in the INI variable "session.gc_maxlifetime". You can change it with [`ini_set()`](http://php.net/ini_set).
8989
The session handler requires a version of Redis with the `SETEX` command (at least 2.0).
90+
phpredis can also connect to a unix domain socket: `session.save_path = "unix:///var/run/redis/redis.sock?persistent=1&weight=1&database=0`.
9091

9192

9293
## Distributed Redis Array

0 commit comments

Comments
 (0)
0