Skip to content

Commit 4eabe0a

Browse files
authored
fix: Inconsistent directives value between default and OPCache groups
1 parent 8fa633d commit 4eabe0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/Security/CheckPhpIni.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ public static function checkIni(?string $argument = null): array
135135
'date.timezone' => ['recommended' => 'UTC'],
136136
'mbstring.language' => ['recommended' => 'neutral'],
137137
'opcache.enable' => ['recommended' => '1'],
138-
'opcache.enable_cli' => ['recommended' => '1'],
138+
'opcache.enable_cli' => ['recommended' => '0', 'remark' => 'Enable when you using CLI'],
139139
'opcache.jit' => ['recommended' => 'tracing'],
140140
'opcache.jit_buffer_size' => ['recommended' => '128', 'remark' => 'Adjust with your free space of memory'],
141141
'zend.assertions' => ['recommended' => '-1'],

0 commit comments

Comments
 (0)