Home >Backend Development >PHP Tutorial >phpmyadmin prompts when installing: Warning: require_once/libraries/commonincphp error solution

phpmyadmin prompts when installing: Warning: require_once/libraries/commonincphp error solution

WBOY
WBOYOriginal
2016-07-29 08:46:361041browse

A simpler method: create a new directory, copy the files in phpmyadmin to this directory, and set the path in iis.

After installing PHPmyAdmin, the following error will appear when accessing it in IE:
Warning: require_once(./libraries/common.inc.php) [function.require-once]: failed to open stream: No such file or directory in in
After a while of debugging, I finally found the solution:
It turns out that the upper-level directory permissions of the phpmyadmin installation directory are not enough. Then add the "read and run" permissions of the IIS anonymous User to the upper-level directory, and then open the phpmyadmin page. Success!
[Notes]:
Do not unzip and install phpmyadmin in the root directory, because anonymous users will have root directory permissions.

The above introduces the solution to the error prompt when phpmyadmin is installed: Warning: require_once/libraries/commonincphp, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn