How To Storage Session By Redis In Symfony2

Server Environment

1
2
3
4
5
6
7
8
9
10
11
12
$ cat /etc/issue
Ubuntu 16.04.2 LTS \n \l

$ redis-server --version
Redis server v=3.0.6 sha=00000000:0 malloc=jemalloc-3.6.0 bits=64

$ cat composer.json
"require": {
"php": ">=5.5.9",
"symfony/symfony": "2.8.*",
...
},

PHP shared session

Server environment

1
2
3
4
5
$ cat /etc/issue
Ubuntu 14.04.5 LTS

$ php -v
PHP 5.6.32-1+ubuntu14.04.1+deb.sury.org+2 (cli)

How sentinel build Redis master-slave

Server Environment

1
2
3
4
5
$ cat /etc/issue
Ubuntu 16.04.2 LTS \n \l

$ redis-server --version
Redis server v=3.0.6 sha=00000000:0 malloc=jemalloc-3.6.0 bits=64
Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×