robinchina
0.01D
V2EX  ›  问与答

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

  •  
  •   robinchina · Feb 1, 2018 · 3181 views
    This topic created in 3219 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
    robinchina
    robinchina
    OP
    Feb 2, 2018
    2
    @dwyyy 谢谢,后来发现是被装的防火墙给墙掉了,说我跨站,设置白名单就好了····
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   999 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 22:38 · PVG 06:38 · LAX 14:38 · JFK 17:38
    ♥ Do have faith in what you're doing.