Skip to content

Commit c55a047

Browse files
authored
improve remark message
1 parent 4eabe0a commit c55a047

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

system/Security/CheckPhpIni.php

Lines changed: 2 additions & 2 deletions
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' => '0', 'remark' => 'Enable when you using CLI'],
138+
'opcache.enable_cli' => ['recommended' => '0', 'remark' => 'Enable when you using queues or running repetitive CLI tasks'],
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'],
@@ -144,7 +144,7 @@ public static function checkIni(?string $argument = null): array
144144
if ($argument === 'opcache') {
145145
$items = [
146146
'opcache.enable' => ['recommended' => '1'],
147-
'opcache.enable_cli' => ['recommended' => '0', 'remark' => 'Enable when you using CLI'],
147+
'opcache.enable_cli' => ['recommended' => '0', 'remark' => 'Enable when you using queues or running repetitive CLI tasks'],
148148
'opcache.jit' => ['recommended' => 'tracing', 'remark' => 'Disable when you used third-party extensions'],
149149
'opcache.jit_buffer_size' => ['recommended' => '128', 'remark' => 'Adjust with your free space of memory'],
150150
'opcache.memory_consumption' => ['recommended' => '128', 'remark' => 'Adjust with your free space of memory'],

0 commit comments

Comments
 (0)