php中文目录 include错误解决
程序员文章站
2022-05-03 21:22:40
...
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即可。
推荐阅读
-
PHP编译安装中遇到的两个错误和解决方法_PHP
-
php自带soap,读取webservice的xml内容中文变乱码解决办法
-
PHP异常Parse error: syntax error错误解决方法
-
PHP错误Parse error: syntax error, unexpected end of file in test.php on line 12解决方法_php技巧
-
php读取mysql中文数据出现乱码的解决方法_PHP教程
-
求php中的include()与自定义函数的优先级,该怎么解决
-
Linux系统递归生成目录中文件的md5的方法_PHP
-
PHP Parse Error: syntax error, unexpected $end 错误的解决办
-
PHP substr截取字符串时,中文出现乱码的问题解决
-
php substr截断中文半个汉字乱码问题的解决方法