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


浙公網安備 33010602011771號