Skip to content

Commit 89190ac

Browse files
committed
chore: set opcache.file_cache_only=1 in shared php.ini
1 parent 12d97a2 commit 89190ac

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

runtime/shared/php.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ opcache.enable_cli=1
1616

1717
; Store the opcodes into a file cache instead of memory as a fallback.
1818
opcache.file_cache="/tmp"
19+
opcache.file_cache_only=1
1920

2021
; Set sane values, modern PHP applications have higher needs than opcache's defaults.
2122
; See https://tideways.com/profiler/blog/fine-tune-your-opcache-configuration-to-avoid-caching-suprises

0 commit comments

Comments
 (0)