Skip to main content

Posts

Showing posts from October, 2019

PHPMyAdmin Timeout Annoyance (Ubuntu 18)

Perhaps this is not worthy of a blog post - but thought it worth sharing for anyone like myself; working with 4 or 5 phpmyadmin windows open, for days on end - and i am using Ubuntu 18 LTS distro.
I kept changing the 1440 seconds timeout setting in the UI, problem is that it does not save anywhere. After some digging i found this to be the best approach, likely somewhat specific to Ubuntu 18:
Add new file /etc/phpmyadmin/conf.d/timeout.php with this in it:

<?php
$cfg['LoginCookieValidity'] = 500000000;

And that is it.. you can change 500 million to something else,it is roughly 30 days.