failed to open stream: No such file or directory in

前端之家收集整理的这篇文章主要介绍了failed to open stream: No such file or directory in前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

Warning: include_once(./include/main.inc.PHP) [function.include-once]: Failed to open stream: Failed to open stream: No such file or directory in

Fatal error: main(): Failed opening required './Config.PHP' (include_path='.;c:PHP4pear') in D:wwwrootCoreConfig.PHP on line 13

出现这个的问题是因为我们inlcude的路径不对了,只要我们把路径改对就可以了。
Fatal error: main(): Failed opening required './Config.PHP' (include_path='.;c:PHP4pear') in D:wwwrootCoreConfig.PHP on line 13

shopex主机问题描述:

Warning: require(/core/include_v5/adminCore.PHP) [function.require]: Failed to open stream: 

No such file or directory in D:wwwrootbeisososhopadminindex.PHP on line 13 

Fatal error: require() [function.require]: Failed opening required "/core/include_v5/adminCore.PHP" (include_path=".;C:PHP5pear")

shopex主机解决方

给D:和D:wwwroot 一个everyone可读权限,只在这两个位置加权限就可以了,不要附加到下一级目录! 命令如下: 

  1. cacls d: /e /g everyone:r  
  2. cacls d:wwwroot /e /g everyone:r 

 

猜你在找的PHP相关文章