Skip to content

Commit 8c43a77

Browse files
committed
opcache: file_cache_read_only code review update 4 (#16484)
1 parent 3397f29 commit 8c43a77

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

UPGRADING

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,10 @@ PHP 8.5 UPGRADE NOTES
105105
readline_callback_handler_install() have been changed to true, rather
106106
than bool.
107107

108+
- opcache:
109+
. Introduce opcache.file_cache_read_only to support a read-only
110+
opcache.file_cache directory, for use with read-only Docker containers.
111+
108112
========================================
109113
10. New Global Constants
110114
========================================

ext/opcache/ZendAccelerator.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3329,7 +3329,7 @@ static zend_result accel_post_startup(void)
33293329
#endif
33303330
}
33313331

3332-
if ( ZCG(accel_directives).file_cache ){
3332+
if ( ZCG(accel_directives).file_cache ) {
33333333
zend_stat_t buf = {0};
33343334

33353335
if (!IS_ABSOLUTE_PATH(ZCG(accel_directives).file_cache, strlen(ZCG(accel_directives).file_cache)) ||

0 commit comments

Comments
 (0)