robinchina
0.01D
V2EX  ›  问与答

[求助] require_once 根目录上一级目录的文件报错

  •  
  •   robinchina · Feb 1, 2018 · 2795 views
    This topic created in 3031 days ago, the information mentioned may be changed or developed.

    服务器是 2008R2 iis7.5+php 网站根目录是 d:\web\newhouse\web
    现在 require_once 根目录上一级目录的文件,就报错了··· HP Warning: require_once(d:\web\newhouse\autoload.php): failed to open stream: Permission denied in ……

    这个是需要设置啥么?

    2 replies    2018-02-02 19:50:38 +08:00
    dwyyy
        1
    dwyyy  
       Feb 1, 2018   ❤️ 1
    robinchina
        2
    robinchina  
    OP
       Feb 2, 2018
    @dwyyy 谢谢,后来发现是被装的防火墙给墙掉了,说我跨站,设置白名单就好了····
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   981 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 22:06 · PVG 06:06 · LAX 15:06 · JFK 18:06
    ♥ Do have faith in what you're doing.