Prompt: Warning: require_once (./libraries/common. inc. php) Error solution during phpmyadmin Installation

Source: Internet
Author: User

Simple Method: create a directory to copy the files in phpmyadmin to this directory, and set the path in iis.

After PHPmyAdmin is installed, the following error occurs during access to 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

The common. inc. php file exists, and php is not installed in the C root directory in the system. How can this problem be solved?

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

The upper-level directory permission of the phpmyadmin installation directory is insufficient. In this case, the "read and run" permission of the IIS Anonymous User is added to the upper-level directory, and the phpmyadmin page is opened successfully!

[Note]:

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.