Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavlo Yatsukhnenko <yatsukhnenko@gmail.com>2019-03-01 10:22:11 +0300
committerPavlo Yatsukhnenko <yatsukhnenko@gmail.com>2019-03-01 10:22:11 +0300
commit3ce9d6b1623be5b29b0a211cdbc69e355a34397d (patch)
treefe656654fa84d7f03c206cc6d8820f7a04aa9249
parent00ad714198da53b8e25ff85d463581cbc0fcc229 (diff)
Update documentation
Fix minimum Redis server version required for session locking.
-rw-r--r--README.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.markdown b/README.markdown
index 4f4f8359..7d38fc2c 100644
--- a/README.markdown
+++ b/README.markdown
@@ -68,7 +68,7 @@ session.save_path = "tcp://host1:6379?weight=1, tcp://host2:6379?weight=2&timeou
* database (integer): selects a different database.
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).
-The session handler requires a version of Redis with the `SETEX` command (at least 2.0).
+The session handler requires a version of Redis supporting `EX` and `NX` options of `SET` command (at least 2.6.12).
phpredis can also connect to a unix domain socket: `session.save_path = "unix:///var/run/redis/redis.sock?persistent=1&weight=1&database=0`.
### Session locking