How to Remove Logout Timer in Phpmyadmin

I accidentally set timer to log me out of phpmyadmin to 0. Now when i log in, it logs me out immediately. I purged phpmyadmin, and after i reinstalled it, it still does the same thing

1 Answer

Find config.inc.php where you install phpMyAdmin. There will be a

$cfg['LoginCookieValidity'] = 0;

Change the 0 to another number (example: 1 second) and save the file.


  • config.inc.php file is not required, and is only for custom configurations, phpmyadmin will first refer to ./libraries/config.default.php but please do not edit that file. Create the 1st file.
  • config.sample.inc.php can be used to create the initial template for config.inc.php.
4

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Marcus Vance

Marcus Vance

Cybersecurity & Digital Privacy Researcher

Marcus Vance is a cybersecurity auditor and technology writer dedicated to educating the public about online safety, data privacy regulations, enterprise security, and emerging cyber threats.

Share this article
Twitter Facebook Pinterest