ubuntu下phpmyadmin修改超时时长

ubuntu下,phpmyadmin在安装/user/share/phpmyadmin,修改文件/etc/phpmyadmin/config.inc.php,与win不同直接在其安装目录下。

$cfg['LoginCookieValidity'] = 60*60*24*7*52;

ini_set('session.gc_maxlifetime', $cfg['LoginCookieValidity']);

 

http://agaric.com/note/stop-phpmyadmin-from-logging-you-out-your-own-local-environment-ubuntu

你可能感兴趣的:(PHP,ubuntu)