summaryrefslogtreecommitdiffstats
path: root/10-opcache.ini
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2025-09-25 09:44:57 +0200
committerRemi Collet <remi@php.net>2025-09-25 09:44:57 +0200
commit8c417f16dc08303619cc733c18e5275549223f83 (patch)
tree7ce5bcf16be66fc51284652f6390681e1df54fd2 /10-opcache.ini
parentde7a1948c5b2cab56eab29e55d803c58acd58161 (diff)
update to 8.5.0RC1HEADmaster
bump ABI/API numbers to 20240925 drop opcache subpackage, extension is build statically add lexbor and uri extension (always static) move /usr/share/fpm/status.html to /usr/share/php/fpm/status.html
Diffstat (limited to '10-opcache.ini')
-rw-r--r--10-opcache.ini14
1 files changed, 9 insertions, 5 deletions
diff --git a/10-opcache.ini b/10-opcache.ini
index b3d4e6e..252303a 100644
--- a/10-opcache.ini
+++ b/10-opcache.ini
@@ -1,6 +1,3 @@
-; Enable Zend OPcache extension module
-zend_extension=opcache
-
; Determines if Zend OPCache is enabled
opcache.enable=1
@@ -54,8 +51,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 +94,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