Last update at :2024-04-24,Edit by888u
I believe that anyone who has used PHPMyAdmin has this experience, especially if you installed it yourself. Sometimes PHPMyAdmin opens very slowly, to the point of being unbearable. So is there any way to speed up access to PHPMyAdmin?
There must be some. After our efforts, Baidu finally found two more reliable methods.
First, block automatic update detection
By default, every time you open PHPMyAdmin, it will check whether it can be updated. This will slow down our opening speed, especially when we open it for the first time. For PHPMyAdmin, we don't need to update it frequently, or even don't plan to update it at all. Therefore, it is necessary to block it.
Find the [version_check.php] file, then find the following code and comment it out:
$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); }
Second, modify the localization time
Find the libraries/Util.class.php file and modify it.
# 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);
Recommended site searches: mobile agent ip, registration network, Hong Kong host, asp.net space, server rental, foreign website space, domain name registration website, ip segment query, godaddy space, free ip agent,
p>
发表评论