Blame SOURCES/opcache.ini

37fd76
; Enable Zend OPcache extension module
37fd76
zend_extension=opcache.so
37fd76
37fd76
; Determines if Zend OPCache is enabled
37fd76
opcache.enable=1
37fd76
37fd76
; Determines if Zend OPCache is enabled for the CLI version of PHP
37fd76
;opcache.enable_cli=0
37fd76
37fd76
; The OPcache shared memory storage size.
37fd76
opcache.memory_consumption=128
37fd76
37fd76
; The amount of memory for interned strings in Mbytes.
37fd76
opcache.interned_strings_buffer=8
37fd76
37fd76
; The maximum number of keys (scripts) in the OPcache hash table.
37fd76
; Only numbers between 200 and 100000 are allowed.
37fd76
opcache.max_accelerated_files=4000
37fd76
37fd76
; The maximum percentage of "wasted" memory until a restart is scheduled.
37fd76
;opcache.max_wasted_percentage=5
37fd76
37fd76
; When this directive is enabled, the OPcache appends the current working
37fd76
; directory to the script key, thus eliminating possible collisions between
37fd76
; files with the same name (basename). Disabling the directive improves
37fd76
; performance, but may break existing applications.
37fd76
;opcache.use_cwd=1
37fd76
37fd76
; When disabled, you must reset the OPcache manually or restart the
37fd76
; webserver for changes to the filesystem to take effect.
37fd76
;opcache.validate_timestamps=1
37fd76
37fd76
; How often (in seconds) to check file timestamps for changes to the shared
37fd76
; memory storage allocation. ("1" means validate once per second, but only
37fd76
; once per request. "0" means always validate)
37fd76
;opcache.revalidate_freq=2
37fd76
37fd76
; Enables or disables file search in include_path optimization
37fd76
;opcache.revalidate_path=0
37fd76
37fd76
; If disabled, all PHPDoc comments are dropped from the code to reduce the
37fd76
 ;size of the optimized code.
37fd76
;opcache.save_comments=1
37fd76
37fd76
; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
37fd76
; may be always stored (save_comments=1), but not loaded by applications
37fd76
; that don't need them anyway.
37fd76
;opcache.load_comments=1
37fd76
37fd76
; If enabled, a fast shutdown sequence is used for the accelerated code
37fd76
opcache.fast_shutdown=1
37fd76
37fd76
; Allow file existence override (file_exists, etc.) performance feature.
37fd76
;opcache.enable_file_override=0
37fd76
37fd76
; A bitmask, where each bit enables or disables the appropriate OPcache
37fd76
; passes
37fd76
;opcache.optimization_level=0xffffffff
37fd76
37fd76
;opcache.inherited_hack=1
37fd76
;opcache.dups_fix=0
37fd76
37fd76
; The location of the OPcache blacklist file (wildcards allowed).
37fd76
; Each OPcache blacklist file is a text file that holds the names of files
37fd76
; that should not be accelerated.
37fd76
opcache.blacklist_filename=/etc/php.d/opcache*.blacklist
37fd76
37fd76
; Allows exclusion of large files from being cached. By default all files
37fd76
; are cached.
37fd76
;opcache.max_file_size=0
37fd76
37fd76
; Check the cache checksum each N requests.
37fd76
; The default value of "0" means that the checks are disabled.
37fd76
;opcache.consistency_checks=0
37fd76
37fd76
; How long to wait (in seconds) for a scheduled restart to begin if the cache
37fd76
; is not being accessed.
37fd76
;opcache.force_restart_timeout=180
37fd76
37fd76
; OPcache error_log file name. Empty string assumes "stderr".
37fd76
;opcache.error_log=
37fd76
37fd76
; All OPcache errors go to the Web server log.
37fd76
; By default, only fatal errors (level 0) or errors (level 1) are logged.
37fd76
; You can also enable warnings (level 2), info messages (level 3) or
37fd76
; debug messages (level 4).
37fd76
;opcache.log_verbosity_level=1
37fd76
37fd76
; Preferred Shared Memory back-end. Leave empty and let the system decide.
37fd76
;opcache.preferred_memory_model=
37fd76
37fd76
; Protect the shared memory from unexpected writing during script execution.
37fd76
; Useful for internal debugging only.
37fd76
;opcache.protect_memory=0
37fd76