LoginSignup
0
0

More than 1 year has passed since last update.

ownCloud 9.1.xで remiレポジトリPHP 7.0.14 のphp-pecl-redis-3.1.0-1.el6.remi.7.0.x86_64 を使うとセッションが効かなくなる件について

Last updated at Posted at 2016-12-26

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. 前提条件

  1. CentOS 6系を使っている。(CentOS 7で発生するかどうかは未検証)
  2. ownCloud/Nextcloud 9.1 系を使っている。(他のバージョンで発生するかどうかは不明)
  3. Remiレポジトリのphp7.0系を使っている。(他のバージョンで発生するかどうかは不明)
  4. ログインセッション情報をRedis上に保管している。

2. 現象

ログインしようとしても、ログイン画面に戻ってしまう。

3. 対策

  1. 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
  1. PHPのセッションストアをredisではなく、filesにする。
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0