Blame SOURCES/10-opcache.ini

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