We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 798a07d commit 824e638Copy full SHA for 824e638
ext/opcache/tests/gt16979.phpt
@@ -7,7 +7,6 @@ opcache.jit=disable
7
opcache.jit_buffer_size=0
8
opcache.file_cache={TMP}
9
opcache.file_cache_only=1
10
-opcache.log_verbosity_level=4
11
--EXTENSIONS--
12
opcache
13
--FILE--
ext/opcache/zend_accelerator_module.c
@@ -1026,8 +1026,9 @@ ZEND_FUNCTION(opcache_is_script_cached)
1026
RETURN_FALSE;
1027
}
1028
1029
- if (!ZCG(accelerator_enabled)) {
1030
- RETURN_FALSE;
+ if (!ZCG(accelerator_enabled) &&
+ !(file_cache && ZCG(accel_directives).file_cache_read_only)) {
1031
+ RETURN_FALSE;
1032
1033
1034
if (file_cache) {
0 commit comments