我在嘗試使用apc_store()
時收到此錯誤。我GOOGLE了它,看到這是APC定時炸彈的bug,並看到一些修正,建議在php.ini中添加apc.slam_defense = Off;
。PHP APC潛在緩存大滿貫迴避鍵
我需要知道這是否因爲編程錯誤而發生,如果是的話,如何解決它。
這是代碼段:
if ($data = apc_fetch("foo")) {
$an_array = $data;
} else {
/* couple of lines */
apc_store("circles", $an_array); // This is where I get the error
}
這個腳本會在我的部署系統頻繁調用。
我希望我提供足夠的信息提前
感謝
固定的問題,我更新APC。 – 2012-12-19 17:35:17