xampp中将apache 、mysql服务启动后,访问 http://localhost 出现如下错误:
Warning: file_get_contents(lang.tmp) [function.file-get-contents]: failed to open stream: No such file or directory in D:\xampplite\htdocs\xampp\index.php on line 2
Warning: Cannot modify header information - headers already sent by (output started at D:\xampplite\htdocs\xampp\index.php:2) in D:\xampplite\htdocs\xampp\index.php on line 4
错误原因:
htdocs/xampp 目录下没有 lang.tmp 文件,需将 lang.tmp 文件放到此目录下即可。
lang.tmp的内容可能是:空 或 zh