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