php中遇到include_path='.;C:\php5\pear'的错误

所有面页,包括空白的都会报类似下面的错误。

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:\php5\pear') in Unknown on line 0

在google和百后,都讲的是include_path的配置问题,所有的这些都配置无误。

最后排查,是因为中文路径的问题。

最后解决办法:

文件夹不用中文名

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

posted @ 2011-03-17 16:02  airy  阅读(17202)  评论(1编辑  收藏  举报