phpmyadmin automatic logout time

后端 未结 9 1902
借酒劲吻你
借酒劲吻你 2020-11-29 18:31

How can I change the phpmyadmin automatic log out time?

It will log out automatically after 1440 seconds which is very low for me. How can I change the option or re

9条回答
  •  粉色の甜心
    2020-11-29 19:16

    Changing php.ini will change the session duration for all the websites running on the server. To change it just for PhpMyAdmin, open config.inc.php and add:

    $sessionDuration = 60*60*24*7; // 60*60*24*7 = one week
    ini_set('session.gc_maxlifetime', $sessionDuration);
    $cfg['LoginCookieValidity'] = $sessionDuration;
    

提交回复
热议问题