waterloo3122 / open-source-docs

Apache License 2.0
0 stars 0 forks source link

phpmyadmin session timout settings #89

Open waterloo3122 opened 5 years ago

waterloo3122 commented 5 years ago

修改PHP配置文件:php.ini

session.cookie_lifetime = 1440 session.gc_maxlifetime = 1440

修改phpmyadmin配置文件:config.inc.php

$cfg['LoginCookieValidity'] = 1440;

restart nginx and php-fpm

/etc/init.d/nginx restart /etc/init.d/php-fpm restart