在IIS 7上向PHP添加写入权限 [英] Add writing permission to PHP on IIS 7

查看:398
本文介绍了在IIS 7上向PHP添加写入权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要一个PHP脚本才能在目录中拥有写入权限。 PHP 5.3在IIS 7下运行为FastCGI,Windows Server 2008为OP。在我的php错误日志中,当脚本尝试写入文件时,我得到权限被拒绝。

I need a PHP script to have writing permission in a directory. PHP 5.3 is running as FastCGI under IIS 7 with windows server 2008 as OP. On my php error logs, I got "permission denied" when the script attempts to write a file.

我该如何解决这个问题?我试图将所有权利交给IIS_IUSR和IUSR_myservername(右键单击我的文件夹),但它没有用。

How can I sort this out? I tried to give all right to IIS_IUSR and to IUSR_myservername (with a right click on my folder) but it didn't work.

任何帮助都会非常感激,

Any help would be very appreciate,

问候,

Julien

推荐答案

我有相同的设置,我必须给予写入权限:

I have the same setup and I have to give write permission to:

'IUSR'和'IIS AppPool\AppPoolName'

'IUSR' and 'IIS AppPool\AppPoolName'

这篇关于在IIS 7上向PHP添加写入权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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