宝塔控制面板phpMyadmin打开卡主加载中
解决办法: 第一步,在phpmyadmin目录中找到version_check.php文件. 找到以下代码
-
$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);
-
}