Home  >  Article  >  Backend Development  >  phpmyadmin prompts when installing: Warning: require_once(./libraries/common.inc_PHP tutorial

phpmyadmin prompts when installing: Warning: require_once(./libraries/common.inc_PHP tutorial

WBOY
WBOYOriginal
2016-07-21 15:25:12852browse

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 X:xxxxxxphpmyadminindex.php on line 34

Fatal error: require_once() [function.require]: Failed opening required './libraries/common.inc.php' (include_path='.;C:php5pear') in , how come there is such a prompt?

After a while of debugging, I finally found the solution:

It turns out that the upper-level directory permissions of the installation directory of phpmyadmin are not enough. At this time, add the "Read and Run" permissions of IIS Anonymous User to the upper-level directory. Open the phpmyadmin page again, success!

[Notes]:

Do not unzip and install phpmyadmin in the root directory, because anonymous users will have root directory permissions.

http://www.bkjia.com/PHPjc/324139.html

truehttp: //www.bkjia.com/PHPjc/324139.htmlTechArticleA 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 will appear when accessing it in IE...
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