This article summarizes the solution for unactive phpMyAdmin login timeout of 1440 seconds. If you need to log on again, refer to this article.
This article summarizes the solution for unactive phpMyAdmin login timeout of 1440 seconds. If you need to log on again, refer to this article.
Symptom:
Symptom 1: during use of phpmyadmin, "Login timeout (not active in 1440 seconds) often occurs. Please log on again ";
Symptom 2: phpmyadmin displays:
Your PHP configuration parameter session. gc_maxlifetime is shorter than the cookie validity period you set in phpMyAdmin. Therefore, the validity period of your logon session is shorter than that you set in phpMyAdmin.
Error message.
Solution:
Modify php. ini and find
The Code is as follows: |
|
Session. gc_maxlife time = 1440 |
Change the value to a greater value and make it take effect.
After a test, the result is poor.
Final Solution:
Find the phpMyAdmin/libraries/config. default. php file, open, modify
The Code is as follows: |
|
$ Cfg ['logincookievalidity '] = 1440; |
Modify 1440 to a greater value.
Problem 2 solution
If you modify:
$ Cfg ['logincookievalidity '] is less than or equal to php. session in ini. the value of gc_maxlifetime. You can configure the session parameter in PHP. gc_maxlifetime is shorter than the cookie validity period you set in phpMyAdmin. Therefore, the validity period of your logon session is shorter than that you set in phpMyAdmin. Also solved