If you have installed a new MySQL version you may be getting the following warning message:
Your PHP parameter session.gc_maxlifetime is lower that cookie validity configured in phpMyAdmin, because of this, your login will expire sooner than configured in phpMyAdmin.
To solve this issue we first need to check what the
session.gc_maxlifetime value is in
php.ini and what the
$cfg['LoginCookieValidity'] is in config.inc.php.
session.gc_maxlifetime = 1440
$cfg['LoginCookieValidity'] = 1800;
Now, we only need to make these two values the same. For the sake of this example, we will change the value of
$cfg['LoginCookieValidity'] to 1440.
After saving the changes we need to restart the services to make them effective.
1.The php.ini file can be found on the php folder.
2. The config.inc.php file can be found on the phpmyadmin folder.
If you’re interested in learning more about PhpMyAdmin then check out the book “Mastering PhpMydmin for Effective MySQL Management“.