File tree 2 files changed +8
-2
lines changed
2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 6
6
opcache.max_wasted_percentage=60
7
7
opcache.memory_consumption=7
8
8
opcache.max_accelerated_files=10
9
+ opcache.log_verbosity_level=2
9
10
--FILE--
10
11
<?php
11
12
$ config = opcache_get_configuration ();
@@ -16,7 +17,13 @@ var_dump($config['directives']['opcache.memory_consumption']);
16
17
var_dump (ini_get ('opcache.max_accelerated_files ' ));
17
18
var_dump ($ config ['directives ' ]['opcache.max_accelerated_files ' ]);
18
19
?>
19
- --EXPECT--
20
+ --EXPECTF--
21
+ %s: Warning opcache.memory_consumption is set below the required 8MB.
22
+
23
+ %s: Warning opcache.max_accelerated_files is set below the required minimum (200).
24
+
25
+ %s: Warning opcache.max_wasted_percentage must be set between 1 and 50.
26
+
20
27
string(1) "5"
21
28
float(0.05)
22
29
string(3) "128"
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ opcache.enable=1
5
5
opcache.enable_cli=1
6
6
opcache.optimization_level=-1
7
7
opcache.preload={PWD}/preload_nested_function.inc
8
- opcache.interned_strings_buffer=0
9
8
--EXTENSIONS--
10
9
opcache
11
10
--SKIPIF--
You can’t perform that action at this time.
0 commit comments