`
moqiang02
  • 浏览: 527369 次
  • 性别: Icon_minigender_1
  • 来自: 苏州
文章分类
社区版块
存档分类
最新评论

php出现Warning: file_put_contents,failed to open stream

 
阅读更多

Warning: file_put_contents(D:/wwwroot/jinxiongdi/web/temp/caches/f/index_40F756F0.php) [function.file-put-contents]: failed to open stream: Permission denied in D:\wwwroot\jinxiongdi\web\includes\cls_template.php on line 198

Notice
: can't write:D:/wwwroot/jinxiongdi/web/temp/caches/f/index_40F756F0.php in D:\wwwroot\jinxiongdi\web\includes\cls_template.php on line 200

解决方法:这个问题主要是 由于

Win NTFS盘下去除了everyone 权限引起的,

在安全权限中加个 Internet 来宾账号 就解决了.

操作步骤:

D盘 -> 属性 -> 安全 -> 添加 用户 IUSR_XXXXX OK, 搞定.

详细步骤:在文件/文件夹的“属性”-“安全”里面可以添加用户和权限,我想使我的某个文件夹的用户列表中加入“Internet 来宾帐户”,就需要按“添加”-“高级”-“立即查找”,在列表中选择“IUSR_***(计算机名)”。之后用户列表里面就有“Internet 来宾帐户”了。
在文件/文件夹的“属性”-“安全”里面可以添加用户和权限,我想使我的某个文件夹的用户列表中加入“Internet 来宾帐户”,就需要按“添加”-“高级”-“立即查找”,在列表中选择“IUSR_***(计算机名)”。之后用户列表里面就有“Internet 来宾帐户”了。

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics