Home > php > phpMyAdmin: No activity within 1440 seconds; please log in again

phpMyAdmin: No activity within 1440 seconds; please log in again


phpMyAdmin’s “No activity within 1440 seconds; please log in again” message is slowly but definitely driving you crazy. How to remain sane?


Increase the time limit. Open the file /etc/phpmyadmin/config.inc.php and add the following line to its end:

$cfg['LoginCookieValidity'] = 60 * 60 * 8;  // in seconds (8 hours)

Here I set 8 hours, but you can change that.

When you log in again in phpMyAdmin, this new value will be taken into account.

Categories: php Tags: , , ,
  1. apis17
    February 14, 2011 at 17:33

    thanks. :)

  2. May 3, 2011 at 10:10
  3. giuseppe
    June 7, 2011 at 07:45

    Does not work for me

  4. June 17, 2011 at 07:10

    thanx :) it really was driving me crazy :) now everything is fixed. interesting, why in config file there was no commented option allowing users themselves to edit it…

  5. joe
    December 6, 2011 at 05:32


  6. Mahrizal
    December 27, 2011 at 08:47


  7. February 10, 2012 at 16:42

    ty. “slowly but crazy” as you said

  8. March 6, 2012 at 19:37

    Not working! The PHP session will expire anyway after 1440 seconds.
    Change in PHP.ini this too:

    session.gc_maxlifetime = 3600


    Also, from PHP.ini:

    If you are using the subdirectory option for storing session files
    ; (see session.save_path above), then garbage collection does *not*
    ; happen automatically. You will need to do your own garbage
    ; collection through a shell script, cron entry, or some other method.
    ; For example, the following script would is the equivalent of
    ; setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    ; cd /path/to/sessions; find -cmin +24 | xargs rm

  9. Jonathan int3rlop3r Fernandes
    March 24, 2012 at 07:18

    If you use firefox as your web browser you can install an add-on called – phpMyAdmin Timeout Preventer


  10. Marin
    July 21, 2013 at 16:21

    thank you sr.

  11. theopisti
    July 23, 2013 at 10:43

    i have done all needed changes, i restarted apache but it keeps sign me out, but without the usual message. it’s just gives me the sign in screen! what can i do?

  1. February 3, 2012 at 04:35

Leave a Reply

Please log in using one of these methods to post your comment:

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

%d bloggers like this: