Skip to content

Commit 3e1c63b

Browse files
committed
opcache: file_cache_read_only - debug log when active (#16484)
1 parent 8aaa51d commit 3e1c63b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ext/opcache/ZendAccelerator.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3307,6 +3307,8 @@ static zend_result accel_post_startup(void)
33073307
int file_cache_access_mode = 0;
33083308

33093309
if (ZCG(accel_directives).file_cache_read_only) {
3310+
zend_accel_error_noreturn(ACCEL_LOG_INFO, "opcache.file_cache is in read-only mode");
3311+
33103312
if (!ZCG(accel_directives).file_cache) {
33113313
accel_startup_ok = false;
33123314
zend_accel_error_noreturn(ACCEL_LOG_FATAL, "opcache.file_cache_read_only is set without a proper setting of opcache.file_cache");

0 commit comments

Comments
 (0)