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.