开发者

Installing PHPMyAdmin on IIS 7.5

I am trying to install PHPMyAdmin on IIS 7.5 / Windows Server 2008 R2.

I created an application inside IIS, when I try to run the app I get an internal error,which is related to phpMyAdmin here is the log :

[09-Jun-2011 21:17:03] PHP Warning:  require_once(./libraries/common.inc.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in C:\inetpub\wwwroot\phpMyAdmin\index.php on line 33

[09-Jun-2011 21:17:03] PHP Fatal error:  require_once() [<a href='function.require'>function.require开发者_Go百科</a>]: Failed opening required './libraries/common.inc.php' (include_path='c:\php\pear') in C:\inetpub\wwwroot\phpMyAdmin\index.php on line 33

PHP is working fine on my server!

Thank you & regards


1) Have you verified that the files exist and the PHP has access to them?

2) Try changing the relative path to an absolute path

This:
require_once(./libraries/common.inc.php)

To This:
require_once(D:\Inetpub\wwwroot/libraries/common.inc.php)
/* Of course using your own path. */


Few possible checks to do:

1) Please check if the required file does actually exist C:\inetpub\wwwroot\phpMyAdmin\libraries\common.inc.php

2) Quite unlikely, but still -- please check if that file is not currently opened by some application (your IDE or text editor may block access to that file while it opened)

3) Please check that IIS has enough access rights to read that file (it depends how your IIS is actually configured from security point of view). Members of IIS_IUSRS group should have read access (it all depends on configuration though)

You can use Process Monitor to help you figuring it out.


When installing PHP itself (I do not mean phpMyAdmin) you must expand (+) the various install options. Pear is not a default install. Like in Microsoft apps doing a custom install where you select all of the features to be installed on the hard drive.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜