IIS 网站“无法打开流:C:\inetpub\vhosts\ 中没有此类文件或目录”但文件存在那里
嗨,我一直在努力解决一个奇怪的问题。我正在使用 IIS,并将我的网站文件夹之一移动到服务器的桌面,然后将其放回去,现在我看到了
警告:include_once(./lib/config.inc.php) [function.include-once]: 无法打开流:C:\inetpub\vhosts\politikacim.net\httpdocs\index 中没有此类文件或目录.php 第 12 行
警告:include_once() [function.include]:无法在 C:\inetpub\ 中打开“./lib/config.inc.php”以包含 (include_path='.;./includes;./pear') vhosts\politikacim.net\httpdocs\index.php 第 12 行
这种错误。我查看了我的根文件夹,发现它的权限是系统和管理员完全访问权限,我该如何使其工作?请帮我。
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
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
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
鉴于错误消息,您需要将
config.inc.php
文件放在以下位置之一:如果您的网络服务器在其他用户帐户下运行,则系统/管理员权限无关紧要。您必须根据您的网络服务器的用户 ID 授予权限,而不是您自己的个人用户或其他帐户。
Given the error messages, you'd need to have your
config.inc.php
file in one of the following locations: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.