zoukankan      html  css  js  c++  java
  • 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:wwwrootjinxiongdiwebincludescls_template.php on line 198

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

     

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

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

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

    操作步骤:

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

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

  • 相关阅读:
    window.top.location
    JS 退出系统并跳转到登录界面的实现代码
    CSS position 属性
    在网页中插入时间 自动更新
    CKeditor 配置使用
    使用JspSmart文件上传
    复制的web工程为什么不能部署到tomcat
    JDBC 4 PreparedStatement 与Statement 的区别
    每周会商自动化
    晚上的亲子时光
  • 原文地址:https://www.cnblogs.com/moqiang02/p/4061460.html
Copyright © 2011-2022 走看看