phpmyadmin安装时提示:Warning: require_once(./libraries/common.inc
比较简洁的方法:新建一个目录将phpmyadmin中的文件复制到这个目录中,iis中设置一下路径。
安装好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页面,成功!
[注意事项]:
不要把phpmyadmin解压安装在根目录,因为这样匿名用户就会拥有根目录的权限。

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Dreamweaver Mac version
Visual web development tools

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

Dreamweaver CS6
Visual web development tools
