doudi8231 2011-08-04 06:01
浏览 77
已采纳

apc.preload_path在APC设置中做了什么?

Just curious. It's undocumented in the manual here.

Maybe someone who is familiar with the APC source code can explain?

  • 写回答

2条回答 默认 最新

  • dtvpl739577 2011-08-04 06:19
    关注

    It specifies a directory from which APC loads cache data on startup. In a large setup (think 100+ servers), this would allow you to forgo compiling php files. You could also supply your own compilations if you were somehow smarter than APC and the php compiler, or other kinds of default data.

    Apart from this one occurence, it's unused. Unless you have one of the problems described above, you should not set it.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?