Warning: Unknown: failed to open stream...错误的解决方法

发布时间:2019-10-02编辑:脚本学堂
运行php网站时,出现如下错误消息:
Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0

运行php网站时,出现如下错误消息:
Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0
Fatal error: Unknown: Failed opening required 'E:/php/www/mrsoft/注册登录模块/index.php' (include_path='.;C:php5pear') in Unknown on line 0

<a href=http://www.jb200.com/apache/ target=_blank class=infotextkey>apache</a>-cn-1

文档结构如下:
apache-err-2

分析

apache不能解析含中文路径的url,把上面的中文路径(“注册登录模块”)改成英文即可。