解决: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可读权限,只在这两个位置加权限就可以了,不要附加到下一级目录!
命令如下:
cacls d: /e /g everyone:r
cacls d:wwwroot /e /g everyone:r
您可能感兴趣的文章:
解决:failed to open stream: No such file or directory in
phpmyamdin安装出现Warning: require(./libraries/Error_Handler.class.php) 错误解决办法
file_get_contents 中文路径报错问题解决
php使用session提示[function.session-start]: open解决方法
PHP date()函数It is not safe to rely on the system s timezone settings
php抓取https内容的方法
关于PHP中extension加载顺序问题的解决方法
php fopen函数创建中文文件名出错
PHP Include与require
详解PHP中include与require的用法区别