mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-01 20:01:47 +02:00
The Zend OPcache provides faster PHP execution through opcode caching and optimization. It improves PHP performance by storing precompiled script bytecode in the shared memory. This eliminates the stages of reading code from the disk and compiling it on future access. In addition, it applies a few bytecode optimization patterns that make code execution faster. Signed-off-by: Leonardo Arena <rnalrd@alpinelinux.org>
12 lines
311 B
INI
12 lines
311 B
INI
[OPcache]
|
|
;Recommended configuration options for best performance.
|
|
;zend_extension="{{extension_dir}}/opcache.so"
|
|
;opcache.enable=1
|
|
;opcache.memory_consumption=128
|
|
;opcache.interned_strings_buffer=8
|
|
;opcache.max_accelerated_files=4000
|
|
;opcache.revalidate_freq=60
|
|
;opcache.fast_shutdown=1
|
|
;opcache.enable_cli=1
|
|
|