ce9965
; Enable Zend OPcache extension module
ce9965
zend_extension=opcache
ce9965
ce9965
; Determines if Zend OPCache is enabled
ce9965
opcache.enable=1
ce9965
ce9965
; Determines if Zend OPCache is enabled for the CLI version of PHP
ce9965
opcache.enable_cli=1
ce9965
ce9965
; The OPcache shared memory storage size.
ce9965
;opcache.memory_consumption=128
ce9965
ce9965
; The amount of memory for interned strings in Mbytes.
ce9965
;opcache.interned_strings_buffer=8
ce9965
ce9965
; The maximum number of keys (scripts) in the OPcache hash table.
ce9965
; Only numbers between 200 and 1000000 are allowed.
ce9965
;opcache.max_accelerated_files=10000
ce9965
ce9965
; The maximum percentage of "wasted" memory until a restart is scheduled.
ce9965
;opcache.max_wasted_percentage=5
ce9965
ce9965
; When this directive is enabled, the OPcache appends the current working
ce9965
; directory to the script key, thus eliminating possible collisions between
ce9965
; files with the same name (basename). Disabling the directive improves
ce9965
; performance, but may break existing applications.
ce9965
;opcache.use_cwd=1
ce9965
ce9965
; When disabled, you must reset the OPcache manually or restart the
ce9965
; webserver for changes to the filesystem to take effect.
ce9965
;opcache.validate_timestamps=1
ce9965
ce9965
; How often (in seconds) to check file timestamps for changes to the shared
ce9965
; memory storage allocation. ("1" means validate once per second, but only
ce9965
; once per request. "0" means always validate)
ce9965
;opcache.revalidate_freq=2
ce9965
ce9965
; Enables or disables file search in include_path optimization
ce9965
;opcache.revalidate_path=0
ce9965
ce9965
; If disabled, all PHPDoc comments are dropped from the code to reduce the
ce9965
; size of the optimized code.
ce9965
;opcache.save_comments=1
ce9965
ce9965
; If enabled, compilation warnings (including notices and deprecations) will
ce9965
; be recorded and replayed each time a file is included. Otherwise, compilation
ce9965
; warnings will only be emitted when the file is first cached.
ce9965
;opcache.record_warnings=0
ce9965
ce9965
; Allow file existence override (file_exists, etc.) performance feature.
ce9965
;opcache.enable_file_override=0
ce9965
ce9965
; A bitmask, where each bit enables or disables the appropriate OPcache
ce9965
; passes
ce9965
;opcache.optimization_level=0x7FFFBFFF
ce9965
ce9965
; This hack should only be enabled to work around "Cannot redeclare class"
ce9965
; errors.
ce9965
;opcache.dups_fix=0
ce9965
ce9965
; The location of the OPcache blacklist file (wildcards allowed).
ce9965
; Each OPcache blacklist file is a text file that holds the names of files
ce9965
; that should not be accelerated.
ce9965
opcache.blacklist_filename=/etc/php.d/opcache*.blacklist
ce9965
ce9965
; Allows exclusion of large files from being cached. By default all files
ce9965
; are cached.
ce9965
;opcache.max_file_size=0
ce9965
ce9965
; Check the cache checksum each N requests.
ce9965
; The default value of "0" means that the checks are disabled.
ce9965
;opcache.consistency_checks=0
ce9965
ce9965
; How long to wait (in seconds) for a scheduled restart to begin if the cache
ce9965
; is not being accessed.
ce9965
;opcache.force_restart_timeout=180
ce9965
ce9965
; OPcache error_log file name. Empty string assumes "stderr".
ce9965
;opcache.error_log=
ce9965
ce9965
; All OPcache errors go to the Web server log.
ce9965
; By default, only fatal errors (level 0) or errors (level 1) are logged.
ce9965
; You can also enable warnings (level 2), info messages (level 3) or
ce9965
; debug messages (level 4).
ce9965
;opcache.log_verbosity_level=1
ce9965
ce9965
; Preferred Shared Memory back-end. Leave empty and let the system decide.
ce9965
;opcache.preferred_memory_model=
ce9965
ce9965
; Protect the shared memory from unexpected writing during script execution.
ce9965
; Useful for internal debugging only.
ce9965
;opcache.protect_memory=0
ce9965
ce9965
; Allows calling OPcache API functions only from PHP scripts which path is
ce9965
; started from specified string. The default "" means no restriction
ce9965
;opcache.restrict_api=
ce9965
ce9965
; Enables and sets the second level cache directory.
ce9965
; It should improve performance when SHM memory is full, at server restart or
ce9965
; SHM reset. The default "" disables file based caching.
ce9965
; RPM note : file cache directory must be owned by process owner
ce9965
;   for mod_php, see /etc/httpd/conf.d/php.conf
ce9965
;   for php-fpm, see /etc/php-fpm.d/*conf
ce9965
;opcache.file_cache=
ce9965
ce9965
; Enables or disables opcode caching in shared memory.
ce9965
;opcache.file_cache_only=0
ce9965
ce9965
; Enables or disables checksum validation when script loaded from file cache.
ce9965
;opcache.file_cache_consistency_checks=1
ce9965
ce9965
; Implies opcache.file_cache_only=1 for a certain process that failed to
ce9965
; reattach to the shared memory (for Windows only). Explicitly enabled file
ce9965
; cache is required.
ce9965
;opcache.file_cache_fallback=1
ce9965
ce9965
; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
ce9965
; This should improve performance, but requires appropriate OS configuration.
ce9965
opcache.huge_code_pages=0
ce9965
ce9965
; Validate cached file permissions.
ce9965
; Leads OPcache to check file readability on each access to cached file.
ce9965
; This directive should be enabled in shared hosting environment, when few
ce9965
; users (PHP-FPM pools) reuse the common OPcache shared memory.
ce9965
;opcache.validate_permission=0
ce9965
ce9965
; Prevent name collisions in chroot'ed environment.
ce9965
; This directive prevents file name collisions in different "chroot"
ce9965
; environments. It should be enabled for sites that may serve requests in
ce9965
; different "chroot" environments.
ce9965
;opcache.validate_root=0
ce9965
ce9965
; If specified, it produces opcode dumps for debugging different stages of
ce9965
; optimizations.
ce9965
;opcache.opt_debug_level=0
ce9965
ce9965
; Specifies a PHP script that is going to be compiled and executed at server
ce9965
; start-up.
ce9965
; http://php.net/opcache.preload
ce9965
;opcache.preload=
ce9965
ce9965
; Preloading code as root is not allowed for security reasons. This directive
ce9965
; facilitates to let the preloading to be run as another user.
ce9965
; http://php.net/opcache.preload_user
ce9965
;opcache.preload_user=
ce9965
ce9965
; Prevents caching files that are less than this number of seconds old. It
ce9965
; protects from caching of incompletely updated files. In case all file updates
ce9965
; on your site are atomic, you may increase performance by setting it to "0".
ce9965
;opcache.file_update_protection=2
ce9965
ce9965
; Absolute path used to store shared lockfiles (for *nix only).
ce9965
;opcache.lockfile_path=/tmp