Advertisement
Guest User

Untitled

a guest
Jul 25th, 2017
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.20 KB | None | 0 0
  1. [opcache]
  2. ; Determines if Zend OPCache is enabled
  3. opcache.enable=1
  4.  
  5. ; Determines if Zend OPCache is enabled for the CLI version of PHP
  6. ;opcache.enable_cli=0
  7.  
  8. ; The OPcache shared memory storage size.
  9. opcache.memory_consumption=64
  10.  
  11. ; The amount of memory for interned strings in Mbytes.
  12. opcache.interned_strings_buffer=4
  13.  
  14. ; The maximum number of keys (scripts) in the OPcache hash table.
  15. ; Only numbers between 200 and 100000 are allowed.
  16. opcache.max_accelerated_files=2000
  17.  
  18. ; The maximum percentage of "wasted" memory until a restart is scheduled.
  19. opcache.max_wasted_percentage=5
  20.  
  21. ; When this directive is enabled, the OPcache appends the current working
  22. ; directory to the script key, thus eliminating possible collisions between
  23. ; files with the same name (basename). Disabling the directive improves
  24. ; performance, but may break existing applications.
  25. ;opcache.use_cwd=1
  26.  
  27. ; When disabled, you must reset the OPcache manually or restart the
  28. ; webserver for changes to the filesystem to take effect.
  29. opcache.validate_timestamps=1
  30.  
  31. ; How often (in seconds) to check file timestamps for changes to the shared
  32. ; memory storage allocation. ("1" means validate once per second, but only
  33. ; once per request. "0" means always validate)
  34. opcache.revalidate_freq=360
  35.  
  36. ; Enables or disables file search in include_path optimization
  37. ;opcache.revalidate_path=0
  38.  
  39. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
  40. ; size of the optimized code.
  41. ;opcache.save_comments=1
  42.  
  43. ; If enabled, a fast shutdown sequence is used for the accelerated code
  44. ;opcache.fast_shutdown=0
  45.  
  46. ; Allow file existence override (file_exists, etc.) performance feature.
  47. ;opcache.enable_file_override=0
  48.  
  49. ; A bitmask, where each bit enables or disables the appropriate OPcache
  50. ; passes
  51. ;opcache.optimization_level=0xffffffff
  52.  
  53. ;opcache.inherited_hack=1
  54. ;opcache.dups_fix=0
  55.  
  56. ; The location of the OPcache blacklist file (wildcards allowed).
  57. ; Each OPcache blacklist file is a text file that holds the names of files
  58. ; that should not be accelerated. The file format is to add each filename
  59. ; to a new line. The filename may be a full path or just a file prefix
  60. ; (i.e., /var/www/x blacklists all the files and directories in /var/www
  61. ; that start with 'x'). Line starting with a ; are ignored (comments).
  62. ;opcache.blacklist_filename=
  63.  
  64. ; Allows exclusion of large files from being cached. By default all files
  65. ; are cached.
  66. ;opcache.max_file_size=0
  67.  
  68. ; Check the cache checksum each N requests.
  69. ; The default value of "0" means that the checks are disabled.
  70. ;opcache.consistency_checks=0
  71.  
  72. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
  73. ; is not being accessed.
  74. ;opcache.force_restart_timeout=180
  75.  
  76. ; OPcache error_log file name. Empty string assumes "stderr".
  77. ;opcache.error_log=
  78.  
  79. ; All OPcache errors go to the Web server log.
  80. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
  81. ; You can also enable warnings (level 2), info messages (level 3) or
  82. ; debug messages (level 4).
  83. ;opcache.log_verbosity_level=1
  84.  
  85. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
  86. ;opcache.preferred_memory_model=
  87.  
  88. ; Protect the shared memory from unexpected writing during script execution.
  89. ; Useful for internal debugging only.
  90. ;opcache.protect_memory=0
  91.  
  92. ; Allows calling OPcache API functions only from PHP scripts which path is
  93. ; started from specified string. The default "" means no restriction
  94. ;opcache.restrict_api=
  95.  
  96. ; Mapping base of shared memory segments (for Windows only). All the PHP
  97. ; processes have to map shared memory into the same address space. This
  98. ; directive allows to manually fix the "Unable to reattach to base address"
  99. ; errors.
  100. ;opcache.mmap_base=
  101.  
  102. ; Enables and sets the second level cache directory.
  103. ; It should improve performance when SHM memory is full, at server restart or
  104. ; SHM reset. The default "" disables file based caching.
  105. ;opcache.file_cache=
  106.  
  107. ; Enables or disables opcode caching in shared memory.
  108. ;opcache.file_cache_only=0
  109.  
  110. ; Enables or disables checksum validation when script loaded from file cache.
  111. ;opcache.file_cache_consistency_checks=1
  112.  
  113. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
  114. ; This should improve performance, but requires appropriate OS configuration.
  115. ;opcache.huge_code_pages=0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement