No doubt that login to phpmyadmin every 1440 seconds is a pretty annoying thing, And it’s pretty easy to avoid.

– First step

open phpmyadmin > More settings > Features > Login cookie validity [Default : 1440]

Now you can change that value with how long you need it to be in seconds.

Here is a small table of examples:

TimeValue
1 Hour3200
2 Hours7200
3 Hours10800
4 Hours14400
5 Hours18000
6 Hours21600
24 Hours86400

and so on.

– Second step

open /etc/php5/apache2/php.ini with your favorite text editor.

Find

Replace it with

Finally we need to restart apache, simply run sudo service apache2 restart

That’s it, Happy coding!