1. Modify Localization Time
Principle: Localization time format need gettext support, if your environment does not turn on this function, will return garbled, affect #phpmyadmin ajax processing. This test is validated through the phpMyAdmin 4.0.2 PHP 5.5.0 environment.
modifying:./libraries/util.class.php files
Copy Code code as follows:
# find
Return strftime ($date, $timestamp);
# Replace with the following code:
if (extension_loaded (' GetText '))
Return strftime ($date, $timestamp);
# China area is set up like this.
Date_default_timezone_set (' UTC ');
Return Gmdate (' y-m-d h:i:s ', $timestamp + 28800);
2, Shielding online upgrade
Principle: phpMyAdmin Official website is GFW, automatically check the update time wasted in the wall to wait, close can
Modify:./version_check.php file, delete or comment out the following code
Copy Code code as follows:
$save = true;
$file = ' Http://www.phpmyadmin.net/home_page/version.json ';
if (Ini_get (' Allow_url_fopen ')) {
$response = file_get_contents ($file);
else if (function_exists (' Curl_init ')) {
$curl _handle = Curl_init ($file);
curl_setopt ($curl _handle, Curlopt_returntransfer, 1);
$response = curl_exec ($curl _handle);
}
Now quit, and then login to visit to see if the seconds have been opened? Let's try it.