Home > Backend Development > PHP Tutorial > 延长phpmyadmin登录逾期时间的方法

延长phpmyadmin登录逾期时间的方法

WBOY
Release: 2016-06-13 13:12:11
Original
968 people have browsed it

延长phpmyadmin登录过期时间的方法

方法1.

phpmyadmin/libraries/config.default.php找到这一行:
$cfg['LoginCookieValidity'] = 1440;
改为
$cfg['LoginCookieValidity'] = 86400; 一天

在上面这行下面添加一行:

ini_set('session.gc_maxlifetime', 86400);

方法2.

phpMyadmin所在的目录下找到“config.inc.php”文件里面的

$cfg['Servers'][$i]['auth_type'] = ‘cookie’;

修改为:

$cfg['Servers'][$i]['auth_type']???? = ‘http’;??? http是永不过期

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template