2.2.6需要在 config.inc.php 设置phpMyAdmin本身的目录,例如:/** * Your phpMyAdmin url * * Complete the variable below with the full url ie * http://www.your_web.net/path_to_your_phpMyAdmin_directory/ * * It must contain characters that are valid for a URL, and the path is * case sensitive on some Web servers, for example Unix-based servers. */ //$cfgPmaAbsoluteUri = ''; //原来的 //$cfgPmaAbsoluteUri = 'http://localhost/phpMyAdmin/'; //自己的目录 //我把上面那行注释掉了,换成了下面这行。 $cfgPmaAbsoluteUri=$HTTP_SERVER_VARS["HTTP_HOST"].dirname($HTTP_ENV_VARS["PATH_INFO"]);
http://phpmyadmin.sourceforge.net/可能比较慢,你可以在yahoo搜索phpmyadmin,从其它网站下在。我现在机装的是 2.2.1
* Your phpMyAdmin url
*
* Complete the variable below with the full url ie
* http://www.your_web.net/path_to_your_phpMyAdmin_directory/
*
* It must contain characters that are valid for a URL, and the path is
* case sensitive on some Web servers, for example Unix-based servers.
*/
//$cfgPmaAbsoluteUri = ''; //原来的
//$cfgPmaAbsoluteUri = 'http://localhost/phpMyAdmin/'; //自己的目录
//我把上面那行注释掉了,换成了下面这行。
$cfgPmaAbsoluteUri=$HTTP_SERVER_VARS["HTTP_HOST"].dirname($HTTP_ENV_VARS["PATH_INFO"]);
给分。