Last active
December 18, 2015 12:09
-
-
Save wnoguchi/5780833 to your computer and use it in GitHub Desktop.
phpMyAdminの開発用セッションタイムアウト延長コード。1週間。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Ubuntuでaptitudeでインストールした場合: | |
// 正しくは以下のファイルに記述することが重要。 | |
// /var/lib/phpmyadmin/config.inc.php | |
// 下の2つのファイルは変更しても設定が反映されないので注意。 | |
// /etc/phpmyadmin/config.inc.php | |
// /usr/share/phpmyadmin/setup/frames/config.inc.php | |
ini_set("session.gc_maxlifetime", 604800); | |
$cfg['LoginCookieValidity'] = 604800; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment