IIS网站"未能打开流:C中没有这样的文件或目录:\\的Inetpub \\虚拟主机\\"但文件存在有 [英] IIS website "failed to open stream: No such file or directory in C:\inetpub\vhosts\" but file exists there
问题描述
您好我一直斗争中与一个奇怪的问题。我使用IIS和感动我的网站文件夹中的一个到我的服务器的桌面,然后把它放回去,现在我看到
Hi I have been struggle with a wierd problem. I am using IIS and moved one of my web site folder to desktop of my server and then put it back now I see
警告:include_once(./的lib / config.inc.php文件)function.include一次]:未能打开流:C中没有这样的文件或目录:\\的Inetpub \\虚拟主机\\ politikacim.net \\ httpdocs资料\\指标.PHP第12行
Warning: include_once(./lib/config.inc.php) [function.include-once]: failed to open stream: No such file or directory in C:\inetpub\vhosts\politikacim.net\httpdocs\index.php on line 12
警告:include_once()的[function.include]:('。./包括; ./梨'的include_path =)未能打开'./lib/config.inc.php列入C:\\的Inetpub \\虚拟主机\\ politikacim.net \\的httpdocs \\的index.php上线12
Warning: include_once() [function.include]: Failed opening './lib/config.inc.php' for inclusion (include_path='.;./includes;./pear') in C:\inetpub\vhosts\politikacim.net\httpdocs\index.php on line 12
这样那样的错误。我看着我的根文件夹,看到它的权限系统管理员完全访问,我怎样才能使它发挥作用?请帮我。
this kind of error. I looked at my root folder and see it's permission is system and administrator full access , how can I make it work ? Please help me.
推荐答案
由于错误信息,你需要有一个你的的config.inc.php
文件以下位置:
Given the error messages, you'd need to have your config.inc.php
file in one of the following locations:
C:\inetpub\vhosts\politikacim.net\httpdocs\lib\config.inc.php
C:\inetpub\vhosts\politikacim.net\httpdocs\includes\config.inc.php
C:\inetpub\vhosts\politikacim.net\httpdocs\pear\config.inc.php
如果您的Web服务器是根据一些其他的用户帐户下运行
系统/管理员权限是不相关的。你必须根据你的网站服务器的用户ID,而不是你自己的个人的,或者一些其他帐户授予权限。
system/admin permissions are irrelevant if your webserver is running under some other user account. You must grant permissions based on your webserver's userid, not your own personal one, or some other account.
这篇关于IIS网站"未能打开流:C中没有这样的文件或目录:\\的Inetpub \\虚拟主机\\"但文件存在有的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!