安装好PHPmyAdmin后,在IE里访问时会出现下面的这种错误:

Warning: require_once(./libraries/common.inc.php) [function.require-once]: failed to open stream: No such file or directory in X:xxxxxxphpmyadminindex.php on line 34

Fatal error: require_once() [function.require]: Failed opening required './libraries/common.inc.php' (include_path='.;C:php5pear') in X:xxxxxxphpmyadminindex.php on line 34

common.inc.php这个文件是存在的,而且系统中php也不装在C盘根目录下,怎么会有这样的提示呢?

经过一阵调试终于发现解决方法:

原来phpmyadmin的安装目录的上级目录权限不够,这时给上级目录加上IIS匿名User的“读取和运行”权限,再打开phpmyadmin页面,成功!

转自:http://kevintseng.blog.hexun.com/20895123_d.html