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