Home  >  Article  >  php教程  >  phpMyAdmin默认登录超时修改方法

phpMyAdmin默认登录超时修改方法

WBOY
WBOYOriginal
2016-05-25 16:52:031088browse

可能有很多朋友在本地使用phpmyadmin时过了下会发现又需要重新登录了,phpMyAdmin的默认超时时间是1800秒,太短了开发过程中写几行代码回来一看数据库就超时了,反复登录很烦人。

修改方法,打开phpMyAdmin/libraries/config.default.php,找到如下代码:

$cfg['LoginCookieValidity'] = 1440; 把1440调大一些就ok了

本文地址:

转载随意,但请附上文章地址:-)

Statement:
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