mirror of
https://github.com/maxpozdeev/mytinytodo.git
synced 2026-03-11 08:55:27 +00:00
34 lines
1.5 KiB
INI
34 lines
1.5 KiB
INI
;; opcache.ini
|
|
|
|
;; check /usr/local/etc/php/conf.d if exists docker-php-ext-opcache.ini
|
|
|
|
; To disable opcache just comment this line
|
|
zend_extension=opcache.so
|
|
|
|
[opcache]
|
|
opcache.enable=0
|
|
opcache.enable_cli=0
|
|
|
|
; The size of the shared memory storage used by OPcache, in megabytes. The minimum permissible value is "8", which is enforced if a smaller value is set.
|
|
; Default is 128.
|
|
opcache.memory_consumption=128
|
|
|
|
; The maximum number of keys (and therefore scripts) in the OPcache hash table.
|
|
; The actual value used will be the first number in the set of prime numbers
|
|
; { 223, 463, 983, 1979, 3907, 7963, 16229, 32531, 65407, 130987, 262237, 524521, 1048793 }
|
|
; that is greater than or equal to the configured value.
|
|
; The minimum value is 200. The maximum value is 1000000. Values outside of this range are clamped to the permissible range.
|
|
; Default is 10000.
|
|
opcache.max_accelerated_files=1000
|
|
|
|
; How often to check script timestamps for updates, in seconds. 0 will result in OPcache checking for updates on every request.
|
|
; This configuration directive is ignored if opcache.validate_timestamps is disabled.
|
|
; Default is 2.
|
|
opcache.revalidate_freq=2
|
|
|
|
; If enabled, OPcache will check for updated scripts every opcache.revalidate_freq seconds.
|
|
; When this directive is disabled, you must reset OPcache manually via opcache_reset(), opcache_invalidate()
|
|
; or by restarting the Web server for changes to the filesystem to take effect.
|
|
; Default is 1.
|
|
;; Override in docker-compose
|
|
opcache.validate_timestamps=1
|