Windows Server 2008 R2和IIS 7.5不会在某些物理根目录中呈现.php文件

我刚刚安装了Windows Server 2008 R2 SP1,并configuration了IIS 7.5以通过CGI运行PHP。 我尝试通过创buildd:\ www \ test \ index.php来configurationIIS,以便从物理pathd:\ www \ test运行一个网站,并将默认文档设置为index.php。 我得到以下错误:

error: 404 - File or directory not found.

但是,当我将index.php移动到c:\ inetpub \ wwwroot并指向它的物理位置时,它可以正常工作。

问题是什么?

听起来像是一个权限问题。 将权限从inetpub复制到新文件夹中,并查看是否已解决。