After phpmyadmin is installed, Warning: require_once (./libraries/common. inc. php) appears. solution:

Source: Internet
Author: User
Simple method: create a directory and copy the files in phpmyadmin to this directory. set the path in iis.

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.