Change login session time for PHPMyAdmin

To change the time when your login session gets expired go to the root of your phpmyadmin folder and find the file config.inc.php

Now search for this variable -> $cfg[‘LoginCookieValidity’] 

In my example I changed it to 5 hours. You should also check the session.gc_maxlifetime in you php.ini file. The lowest value of those two will be in effect.

$cfg['LoginCookieValidity'] = 3600 * 5;

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s