如何解决favicon.ico在Apache上找不到错误

问题描述:

在Apache上运行index.php文件时出现以下错误

I am getting following error while running index.php file on apache

File does not exist: /home/../../../../favicon.ico

这是什么意思?我应该改变些什么来解决它?

What does this mean? What should I change to resolve it?

Favicon.ico是显示在浏览器栏中URL旁边的图标文件. (请参阅URL旁边的StackExchange图标.)

Favicon.ico is an icon file that is displayed next to the URL in the browser bar. (See the StackExchange icon next to the URL).

无法阻止浏览器请求它.您可以创建一个收藏夹图标,也可以创建一个名为favicon.ico的零字节文件并将其放置在Web根目录中.

There is no way to stop browsers requesting it. You can either create a favicon, or create a zero byte file called favicon.ico and place in the web root.