APC(备用PHP缓存)抛出大量PHP公告 [英] APC (Alternate PHP Cache) Throwing Lots of PHP Notices

查看:55
本文介绍了APC(备用PHP缓存)抛出大量PHP公告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在运行PHP 5.3.6的Linux机器上安装了APC 3.1.9.

I got APC 3.1.9 setup on my Linux box running PHP 5.3.6.

缓存工作正常,但是我已经在错误日志中注意到,APC会抛出很多PHP通知,例如:

Caching works fine but I have noticed in our error logs, that APC throws a lot of PHP notices, such as:

[2011年6月29日星期三01:08:56] [错误] [client ip] PHP注意: require_once()[function.require-once]: apc_cache_find [16085954] \ n在 第75行上的/path/to/file,引荐网址: /path/to/referer/file

[Wed Jun 29 01:08:56 2011] [error] [client ip] PHP Notice: require_once() [function.require-once]: apc_cache_find [16085954]\n in /path/to/file on line 75, referer: /path/to/referer/file

[2011年6月29日星期三01:08:56] [错误] [client ip] PHP注意: require_once()[function.require-once]: 1. h-> opened_pa​​th = [/path/to/file] h-> filename = [/path/to/file] \ n /path/to/file在第84行,引荐网址: /path/to/referer/file

[Wed Jun 29 01:08:56 2011] [error] [client ip] PHP Notice: require_once() [function.require-once]: 1. h->opened_path=[/path/to/file] h->filename=[/path/to/file]\n in /path/to/file on line 84, referer: /path/to/referer/file

[2011年6月29日星期三01:08:56] [错误] [client ip] PHP注意:未知: apc_cache_find [16215361] \ n在未知中 在第0行,引荐来源网址: /path/to/referer/file

[Wed Jun 29 01:08:56 2011] [error] [client ip] PHP Notice: Unknown: apc_cache_find [16215361]\n in Unknown on line 0, referer: /path/to/referer/file

->/path/to/file&我插入了/path/to/referer/file,替换了原始文件名

--> /path/to/file & /path/to/referer/file have been inserted by me replacing the original file names

您知道为什么APC会抛出所有这些消息吗?

Any idea why APC throws all these messages ?

推荐答案

在安装/重新安装APC时,确切的安装线是:

The exact installation line when installing/reinstalling APC is this:

Enable internal debugging in APC [no] :no

这篇关于APC(备用PHP缓存)抛出大量PHP公告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆