LoginSignup
0
1

More than 5 years have passed since last update.

【phpMyadmin】セッション時間の設定

Posted at

デフォルトでは1440秒でセッションが切れてしまうので伸ばしたい場合。
config.inc.phpに以下を追加。単位は秒なので3600は60*60で一時間。

$cfg['LoginCookieValidity'] = 3600;

config.inc.phpがない場合は、コピーして作る。
phpMyadminのルート下にconfig.sample.inc.phpがあるのでコピーして作る。

cp -p config.sample.inc.php config.inc.php
chmod 705 config.inc.php ←下の参照では600になっていたがエラーになり他の記事を参考に705で動いた。
0
1
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
1