apc.ini 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. ; Enable apc extension module
  2. extension = apc.so
  3. ; Options for the APC module version >= 3.1.3
  4. ; See http://www.php.net/manual/en/apc.configuration.php
  5. ; This can be set to 0 to disable APC.
  6. apc.enabled=1
  7. ; The number of shared memory segments to allocate for the compiler cache.
  8. apc.shm_segments=1
  9. ; The size of each shared memory segment, with M/G suffix
  10. apc.shm_size=128M
  11. ; A "hint" about the number of distinct source files that will be included or
  12. ; requested on your web server. Set to zero or omit if you are not sure;
  13. apc.num_files_hint=1024
  14. ; Just like num_files_hint, a "hint" about the number of distinct user cache
  15. ; variables to store. Set to zero or omit if you are not sure;
  16. apc.user_entries_hint=4096
  17. ; The number of seconds a cache entry is allowed to idle in a slot in case this
  18. ; cache entry slot is needed by another entry.
  19. apc.ttl=0
  20. ; use the SAPI request start time for TTL
  21. apc.use_request_time=1
  22. ; The number of seconds a user cache entry is allowed to idle in a slot in case
  23. ; this cache entry slot is needed by another entry.
  24. apc.user_ttl=7200
  25. ; The number of seconds that a cache entry may remain on the garbage-collection list.
  26. apc.gc_ttl=3600
  27. ; On by default, but can be set to off and used in conjunction with positive
  28. ; apc.filters so that files are only cached if matched by a positive filter.
  29. apc.cache_by_default=1
  30. ; A comma-separated list of POSIX extended regular expressions.
  31. apc.filters
  32. ; The mktemp-style file_mask to pass to the mmap module
  33. apc.mmap_file_mask=/tmp/apc.XXXXXX
  34. ; This file_update_protection setting puts a delay on caching brand new files.
  35. apc.file_update_protection=2
  36. ; Setting this enables APC for the CLI version of PHP (Mostly for testing and debugging).
  37. apc.enable_cli=0
  38. ; Prevents large files from being cached
  39. apc.max_file_size=1M
  40. ; Whether to stat the main script file and the fullpath includes.
  41. apc.stat=1
  42. ; Vertification with ctime will avoid problems caused by programs such as svn or rsync by making
  43. ; sure inodes have not changed since the last stat. APC will normally only check mtime.
  44. apc.stat_ctime=0
  45. ; Whether to canonicalize paths in stat=0 mode or fall back to stat behaviour
  46. apc.canonicalize=0
  47. ; With write_lock enabled, only one process at a time will try to compile an
  48. ; uncached script while the other processes will run uncached
  49. apc.write_lock=1
  50. ; Logs any scripts that were automatically excluded from being cached due to early/late binding issues.
  51. apc.report_autofilter=0
  52. ; RFC1867 File Upload Progress hook handler
  53. apc.rfc1867=0
  54. apc.rfc1867_prefix =upload_
  55. apc.rfc1867_name=APC_UPLOAD_PROGRESS
  56. apc.rfc1867_freq=0
  57. apc.rfc1867_ttl=3600
  58. ; Optimize include_once and require_once calls and avoid the expensive system calls used.
  59. apc.include_once_override=0
  60. apc.lazy_classes=0
  61. apc.lazy_functions=0
  62. ; Enables APC handling of signals, such as SIGSEGV, that write core files when signaled.
  63. ; APC will attempt to unmap the shared memory segment in order to exclude it from the core file
  64. apc.coredump_unmap=0
  65. ; Records a md5 hash of files.
  66. apc.file_md5=0
  67. ; not documented
  68. apc.preload_path