phpMyAdmin Error: require_once (./libraries/common.lib.php) Solution

Source: Internet
Author: User
Tags pear require phpmyadmin root directory

phpMyAdmin warning:require_once (./libraries/common.lib.php) Error resolution

Sometimes when the phpMyAdmin is installed, the following is the case when you visit in IE:

Warning:require_once (./libraries/common.lib.php): Failed to open stream:no such file or directory into ***\index.php on Li NE 40

Fatal Error:main (): Failed opening required './libraries/common.lib.php ' (include_path= '.; C:\php5\pear ') in

\index.php on line 40

Warning:require_once (./libraries/common.inc.php) [Function.require-once]: failed to open stream:no such file or Directo Ry in E:\www\index.php on line 34

Fatal error:require_once () [function.require]: Failed opening required './libraries/common.inc.php ' (include_path= '.; C:\php5\pear ') in E:\www\index.php on line 34

There are several reasons for this problem:

1, your phpMyAdmin directory is placed in the root directory of the disk

2, your phpMyAdmin directory and the upper-level directory permissions to set the issue

Workaround:

• phpMyAdmin directories should not be placed in the root directory of the disk, as in D:\SiteManage\phpmyadmin

• phpMyAdmin directory and upper directory, set permissions as follows:

Users Read and run

IUSR_ ... Read and run

Another solution:

-----------------

Have a strange problem. After installing phpMyAdmin, report the following error:

Warning:require_once (./libraries/common.lib.php) [Function.require-once]: failed to open stream:no such

File or directory in X:\Xxxxx\phpmyadmin\index.php on line 36

Fatal error:require_once () [function.require]: Failed opening required './libraries/common.lib.php '

(Include_path= '.; C:\php5\pear ') in X:\Xxxxx\phpmyadmin\index.php on line 36

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.