shopex主机报错误请求解决方案(No such file or directory)_PHP
- WBOYOriginal
- 2016-06-01 12:14:15866browse
一、shopex主机环境
1、windows 2003 R2
2、iis6.0+php5.0以上
3、mysql5.0以上
如果有希望了解php环境搭配的,请查阅:
windows2003下如何配置搭建iis+php+mysql环境
二、shopex主机问题描述
复制代码 代码如下:
Warning:
require(/core/include_v5/adminCore.php) [function.require]: failed to open stream:
No such file or directory in D:\wwwroot\beisoso\shopadmin\index.php on line 13
Fatal error:
require() [function.require]:
Failed opening required "/core/include_v5/adminCore.php" (include_path=".;C:\php5\pear")
三、shopex主机解决方案
给D:\和D:\wwwroot 一个everyone可读权限,只在这两个位置加权限就可以了,不要附加到下一级目录!
命令如下:
cacls d:\ /e /g everyone:r
cacls d:\wwwroot /e /g everyone:r
四、附加
如果你对这个问题有更好的解决方法,欢迎指正和讨论
因为是权限问题,所以一般情况下放到一个子目录中也可以解决。
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn