PhpMyAdmin logon timeout Solution

Source: Internet
Author: User

Symptom:

Symptom 1: During use of phpmyadmin, "Login timeout for 1440 seconds is not active). Please log on again ";

Symptom 2: "Your PHP configuration parameter session is displayed in phpmyadmin. 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:

Step 1:

Modify php. ini and find

Session. gc_maxlife time = 1440

Change the value to a greater value and make it take effect.

Step 2:

Find the/libraries/config. default. php file in the directory where phpMyAdmin is located, open, modify

$ Cfg ['logincookievalidity '] = 1440;

Modify: the value of $ cfg ['logincookievalidity '] is smaller than or equal to the value of session. gc_maxlifetime in php. ini, and the problem "symptom 2" can be solved.

Note: The value of $ cfg ['logincookievalidity '] cannot be greater than that of php. session in ini. the value of gc_maxlifetime; otherwise, "Your PHP configuration parameter session" appears in phpmyadmin. 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 (problem 2 ).

This article from the "Yi hetang Qiu Yun" blog, please be sure to keep this source http://cathiry.blog.51cto.com/3157549/989419

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.