在PHP文件UTF-8格式下, file_exists 下需要中文编码格式为gbk $path = iconv("utf-8", "gbk", $path); 转换为gbk编码后,就可以file_exists判断出来