Home > php教程 > php手册 > php中文目录 include错误解决

php中文目录 include错误解决

WBOY
Release: 2016-05-25 16:53:20
Original
1322 people have browsed it

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即可。

Related labels:
source:php.cn
Statement of this Website
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
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template