Yeah, this might not follow all the security best practices in the world, and if your database contains highly sensitive information, you should probably close this page, shut down your browser and get this whole idea out of sight and mind! But, for the rest of us, the default timeout of 30 minutes is really, really annoying!
To increase the phpMyAdmin timeout (we'll assume 10 hours):
- Add this line to /config.inc.php:
$cfg['LoginCookieValidity'] = 36000;
- In /setup/lib/index.lib.php
$cf->getValue('LoginCookieValidity') > 36000;
- If you don't already have a .htaccess file for your site, create one, and add the following line to override the default PHP session timeout:
php_value session.gc_maxlifetime 36000I would not recommend altering this value in your main php.ini file, as it will allow a ridiculously long session timeout for all your PHP sites.