phpmyadmin logs out after 1440 secs

后端 未结 24 1593
予麋鹿
予麋鹿 2021-01-29 23:29

In my local development Ubuntu box I use MySQL and phpmyadmin to work with the database.

Whenever phpmyadmin is idle for 1440 secs (24min) the session expires. I lose m

24条回答
  •  既然无缘
    2021-01-29 23:50

    You will then get another warning: “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.“. That makes sense because php’s session will time out first anyways. So we will need to change /etc/php.ini .

    session.gc_maxlifetime = 43200
    That’s 12 hours in seconds. 
    

    Restart your apache server and you are done!

    source: http://birdchan.com/home/2011/06/06/phpmyadmin-timeout-after-1440-seconds/

    this works for me! :)

提交回复
热议问题