diff options
author | Remi Collet <remi@remirepo.net> | 2025-07-01 06:33:42 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2025-07-01 06:33:42 +0200 |
commit | a6e73b4a3c3e95809743314c8ff0a163eaaf720c (patch) | |
tree | a0cc53bd5ae429b39bd44983728429e9914753f9 /10-opcache.ini | |
parent | 2b7a376e42cfefdf66acb02820f89842415437f5 (diff) |
refresh config from upstream
Diffstat (limited to '10-opcache.ini')
-rw-r--r-- | 10-opcache.ini | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/10-opcache.ini b/10-opcache.ini index b3d4e6e..a036eee 100644 --- a/10-opcache.ini +++ b/10-opcache.ini @@ -54,8 +54,6 @@ opcache.enable_cli=1 ; passes ;opcache.optimization_level=0x7FFFBFFF -; This hack should only be enabled to work around "Cannot redeclare class" -; errors. ;opcache.dups_fix=0 ; The location of the OPcache blacklist file (wildcards allowed). @@ -99,6 +97,15 @@ opcache.blacklist_filename=/etc/php.d/opcache*.blacklist ; for php-fpm, see /etc/php-fpm.d/*conf ;opcache.file_cache= +; Enables or disables read-only mode for the second level cache directory. +; It should improve performance for read-only containers, +; when the cache is pre-warmed and packaged alongside the application. +; Best used with `opcache.validate_timestamps=0`, `opcache.enable_file_override=1` +; and `opcache.file_cache_consistency_checks=0`. +; Note: A cache generated with a different build of PHP, a different file path, +; or different settings (including which extensions are loaded), may be ignored. +;opcache.file_cache_read_only=0 + ; Enables or disables opcode caching in shared memory. ;opcache.file_cache_only=0 |