Home > Backend Development > PHP Tutorial > 批改phpmyadmin中的默认超时时间

批改phpmyadmin中的默认超时时间

WBOY
Release: 2016-06-13 12:19:26
Original
930 people have browsed it

修改phpmyadmin中的默认超时时间

登录后1440秒未活动后总是自动退出,一天还要登录多次,终于有时间来解决这个问题了,感觉是session超时,结果在网上search了下,找到解决办法啦,哈哈哈,在此做个笔记:

phpmyadmin在使用过程中经常出现“登陆超时(1440秒未活动),请重新登录”,很烦

解决方法如下:

修改php.ini,找到

session.gc_maxlifetime = 1440

将数值改大就行了,然后使之生效

试验了一下,结果不好使。

最终解决方案:

找到 phpMyAdmin / libraries / config.default.php 文件,打开,修改

$cfg['LoginCookieValidity'] = 1440;

将1440修改成更大的值即可。

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