The Final Cause of slow loading of phpmyadmin4.0 series is that phpmyadmin's official website is not frequently opened recently, and the phpmyadmin page automatically checks the official online program version updates,
The Final Cause of slow loading of phpmyadmin4.0 series is that phpmyadmin's official website is not frequently opened recently, and the phpmyadmin page automatically checks the official online program version updates,
The Final Cause of slow loading of phpmyadmin4.0 series is that phpmyadmin's official website is not frequently opened recently, and the phpmyadmin page automatically checks the official online program version updates, so when you go to the phpmyadmin Management page and click the database, phpmyadmin keeps trying to connect to the official website, which slows down the entire open process.
The final solution is to prevent phpmyadmin from checking for updates and find the version_check.php file in the phpmyadmin directory. The specific modification is as follows:
If (isset ($ _ SESSION ['cache'] ['version _ check'])
& Time () <$ _ SESSION ['cache'] ['version _ check'] ['timestamp'] + 3600*6
){
$ Save = false;
$ Response = $ _ SESSION ['cache'] ['version _ check'] ['response'];
} Else {
// $ 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 );
//}
}
The above code is to cancel the phpmyadmin connection to the official website version. json by commenting out the section in the middle of else {...} to check for updates
Phpmyadmin 4.1
The solution is simple. Add this line to config. inc. php:
$ Cfg ['versioncheck'] = false;
PhpMyAdmin details: click here
PhpMyAdmin: click here
Recommended reading:
Install the LAMP \ Vsftpd \ Webmin \ phpMyAdmin service and settings in Ubuntu 13.04
Example of LAMP architecture collaborative application-phpMyAdmin
PhpMyAdmin and Wordpress for LAMP applications
PhpMyAdmin logon timeout Solution
Install phpMyAdmin and Adminer in Ubuntu
Implement SSL functions based on LAMP and install phpMyAdmin