ownCloud 9.1.xで remiレポジトリPHP 7.0.14 のphp-pecl-redis-3.1.0-1.el6.remi.7.0.x86_64 を使うとセッションが効かなくなる件について
ownCloud/Nextcloud Japan Advent Calendar 2016 - Qiita
http://qiita.com/advent-calendar/2016/owncloudjp
の12日目です。
Stylez Advent Calendar 2016 - Qiita
http://qiita.com/advent-calendar/2016/stylez
の12日目です。
表題の通りである。
1. 前提条件
- CentOS 6系を使っている。(CentOS 7で発生するかどうかは未検証)
- ownCloud/Nextcloud 9.1 系を使っている。(他のバージョンで発生するかどうかは不明)
- Remiレポジトリのphp7.0系を使っている。(他のバージョンで発生するかどうかは不明)
- ログインセッション情報をRedis上に保管している。
2. 現象
ログインしようとしても、ログイン画面に戻ってしまう。
3. 対策
- php-pecl-redisのダウングレード
php-pecl-redis-3.1.0-1.el6.remi.7.0.x86_64
のバージョンをダウングレードする。
bash
$ yum remove php-pecl-redis
$ yum install ftp://fr2.rpmfind.net/linux/remi/enterprise/6/remi/x86_64/php70-php-pecl-redis-3.0.0-1.el6.remi.x86_64.rpm
- PHPのセッションストアをredisではなく、filesにする。
Author And Source
この問題について(ownCloud 9.1.xで remiレポジトリPHP 7.0.14 のphp-pecl-redis-3.1.0-1.el6.remi.7.0.x86_64 を使うとセッションが効かなくなる件について), 我々は、より多くの情報をここで見つけました https://qiita.com/ynott/items/17d36c309231c1653dc4著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .