如何授予Windows Server IIS 7中文件夹的权限 [英] How can i give permission to a folder in windows server IIS 7

查看:401
本文介绍了如何授予Windows Server IIS 7中文件夹的权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是PHP和Windows Server新手,在查看用PHP创建的表单时遇到以下错误.

I'm a PHP and windows Server newbie and I'm getting the following error when viewing a form that I created in PHP.

Error in exception handler: The stream or file "C:\inetpub\wwwroot\wrp\app\storage/logs/laravel.log" could not be opened: failed to open stream: Permission denied in C:\inetpub\wwwroot\wrp\vendor\monolog\monolog\src\Monolog\Handler\StreamHandler.php:84

我正在通过Fast CGI运行IIS 7和PHP的Windows 2008 Server R1(64位)上.除此问题外,PHP在服务器上运行良好.我正在运行PHPMyAdmin和其他几个PHP应用程序.我确认我已经正确设置了权限(甚至已经在完全控制的目录和文件级别运行php文件进行测试)

I'm on a Windows 2008 Server R1 (64bit) running IIS 7 and PHP through Fast CGI. Except for this issue PHP is running fine on the server. I'm running PHPMyAdmin and a couple other PHP apps just fine. I confirmed that I have permissions set correctly (have even run php files at the directory and file level under full control to test)

赞赏有关如何解决此问题的任何建议.另外,您是否知道有专门针对那些在IIS 7上的FastCG下运行PHP的论坛或社区站点?

Appreciate any suggestions on how to troubleshoot this issue. Also, are you aware of any forums or community sites geared just for those running PHP under FastCG on IIS 7?

推荐答案

适用于:Windows 7,Windows Server 2008 R2

Applies To: Windows 7, Windows Server 2008 R2

创建文件或文件夹后,Windows会为该对象分配默认权限.

When a file or folder is created, Windows assigns default permissions to that object.

修改是完成此过程所需的最低权限.查看本主题中其他注意事项"中的详细信息.

Modify is the minimum permission required to complete this procedure. Review the details in "Additional considerations" in this topic.

要设置,查看,更改或删除文件和文件夹的权限

To set, view, change, or remove permissions on files and folders

  1. 右键单击要为其设置权限的文件或文件夹,单击属性,然后单击安全选项卡.

单击编辑以打开权限对话框.

执行下列操作之一:

  • 要为未出现在组或用户名"框中的组或用户设置权限,请单击添加".键入您要为其设置权限的组或用户的名称,然后单击确定".

  • To set permissions for a group or user that does not appear in the Group or user names box, click Add. Type the name of the group or user you want to set permissions for, and then click OK.

要更改或删除现有组或用户的权限,请单击组或用户的名称.

To change or remove permissions from an existing group or user, click the name of the group or user.

执行下列操作之一:

  • 要允许或拒绝权限,请在权限"框中,选中允许"或拒绝"复选框.

  • To allow or deny a permission, in the Permissions for box, select the Allow or Deny check box.

要从组或用户名"框中删除组或用户,请单击删除".

To remove the group or user from the Group or user names box, click Remove.

这篇关于如何授予Windows Server IIS 7中文件夹的权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆