How can I tune the PHP realpath cache?

后端 未结 3 1024
臣服心动
臣服心动 2020-12-30 16:19

Recent versions of PHP have a cache of filenames for knowing the real path of files, and require_once() and include_once() can take advantage of it

3条回答
  •  天命终不由人
    2020-12-30 17:02

    the 16K is the # of files not activity.

    Set to 1k for most sites. Very similar to settings in APC, xcache ea etc.

提交回复
热议问题