加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 站长学院 > PHP教程 > 正文

php中文目录 include错误解决

发布时间:2020-12-13 20:38:42 所属栏目:PHP教程 来源:网络整理
导读:include_path=.;c:php5pear的错误:warning: unknown: failed to open stream: no such file or directory in unknown on line 0。 fatal error: unknown: failed opening required e:/ttttt/中文/index.php (include_path=.;c:php5pear) in unknown on line

include_path='.;c:php5pear'的错误:warning: unknown: failed to open stream: no such file or directory in unknown on line 0。

fatal error: unknown: failed opening required 'e:/ttttt/中文/index.php' (include_path='.;c:php5pear') in unknown on line 0?

在google和百后,都讲的是include_path的配置问题,所有的这些都配置无误,最后排查,是因为中文路径的问题。

最后解决办法:文件夹不用中文名,最后提示一下,apache2.2 配置的网络文件夹是可以用中文的,只需要把httpd.conf保存为utf-8即可。

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读