phpMyAdmin time-out or slow response reasons I analyzed there are two, time-out is set time is not enough, the default is 1800 seconds, and the slow response is phpmyadmin automatically check the update caused, let me specifically solve the operation method.
Today installed the latest version of the phpMyAdmin, installed the test, found that the reaction is very slow, and view the Nginx log, is reported fastcgi connection timeout. Then open the slow log of fastcgi and find the following error:
[10-may-2013 11:15:16] [Pool www] pid 10992 script_filename =/usr/share/nginx/html/phpmyadmin-1688/version_check.php [0x0000000002902e78] File_get_contents ()/usr/share/nginx/html/phpmyadmin-1688/version_check.php:240
The problem is obvious, is the phpMyAdmin constantly version of the check update, and the domestic server connection phpMyAdmin server is ultra-slow, and may not be able to connect, so caused the phenomenon of timeouts.
Workaround:
Edit the version_check.php file,
The code is as follows |
Copy Code |
Add the following Exit |
Save the test, the response slow problem solved.
Here's a second question, the phpMyAdmin timeout problem.
The default time-out for phpMyAdmin is 1800 seconds, too short.
Write a few lines of code in the development process come back to see the database has timed out,
Repeated logons are annoying.
Modification Method:
Open phpmyadmin/libraries/config.default.php
Find $cfg[' logincookievalidity '] = 1440; Yes
Make the 1440 bigger.
http://www.bkjia.com/PHPjc/633194.html www.bkjia.com true http://www.bkjia.com/PHPjc/633194.html techarticle phpMyAdmin time-out or slow response reasons I analyzed there are two, time-out is set time is not enough, the default is 1800 seconds, and the slow response is phpMyAdmin automatic check update caused by, below I ...