问题描述
我每天都在为本地主机后端开发工作.
I work on my wamp for localhost backend development everyday.
我因phpmyadmin自动注销而感到烦恼.有什么办法可以摆脱这种情况或延长超时时间?
I feel annoyed by phpmyadmin auto log out out quickly. Is there any way I could get rid of this or extend the timeout?
在哪里可以设置此超时值?
Where can I set this timeout value?
推荐答案
要增加phpMyAdmin
会话超时,请在根phpMyAdmin
根目录中打开config.inc.php
并添加此设置(任何位置).
To increase the phpMyAdmin
Session Timeout, open config.inc.php
in the root phpMyAdmin
directory and add this setting (anywhere).
$cfg['LoginCookieValidity'] = <your_new_timeout>;
<your_new_timeout>
大于1800的某个数字.
Where <your_new_timeout>
is some number larger than 1800.
注意:
请始终牢记,对于开发服务器而言,较短的cookie生存期是一件好事.因此,请不要在生产服务器上执行此操作.
Always keep on mind that a short cookie lifetime is all well and good for the development server. So do not do this on your production server.
这篇关于如何设置我的phpmyadmin用户会话不那么快超时?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!