Blame SOURCES/opcache.ini

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