Skip to content

Commit 9510786

Browse files
committed
opcache: file_cache_read_only code review update 6 (#16484)
1 parent 3e1c63b commit 9510786

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

UPGRADING

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,10 @@ PHP 8.5 UPGRADE NOTES
108108
- Opcache:
109109
. Introduce opcache.file_cache_read_only to support a read-only
110110
opcache.file_cache directory, for use with read-only Docker containers.
111-
Best used with `opcache.validate_timestamps=0`, `opcache.revalidate_freq=0`
112-
and `opcache.enable_file_override=1`.
113-
Note: this cache isn't portable between PHP builds, enforced by the
114-
inclusion of the `zend_system_id` both in the directory path, and
115-
each cache file.
111+
Best used with `opcache.validate_timestamps=0`, `opcache.enable_file_override=1`
112+
and `opcache.file_cache_consistency_checks=false`.
113+
Note: A cache generated with a different build of PHP, or different settings
114+
(including which extensions are loaded) may be ignored.
116115

117116
========================================
118117
10. New Global Constants

0 commit comments

Comments
 (0)