diff --git a/system/Security/CheckPhpIni.php b/system/Security/CheckPhpIni.php index e2ff075678cd..35431c35af57 100644 --- a/system/Security/CheckPhpIni.php +++ b/system/Security/CheckPhpIni.php @@ -135,7 +135,7 @@ public static function checkIni(?string $argument = null): array 'date.timezone' => ['recommended' => 'UTC'], 'mbstring.language' => ['recommended' => 'neutral'], 'opcache.enable' => ['recommended' => '1'], - 'opcache.enable_cli' => ['recommended' => '1'], + 'opcache.enable_cli' => ['recommended' => '0', 'remark' => 'Enable when you are using queues or running repetitive CLI tasks'], 'opcache.jit' => ['recommended' => 'tracing'], 'opcache.jit_buffer_size' => ['recommended' => '128', 'remark' => 'Adjust with your free space of memory'], 'zend.assertions' => ['recommended' => '-1'], @@ -144,7 +144,7 @@ public static function checkIni(?string $argument = null): array if ($argument === 'opcache') { $items = [ 'opcache.enable' => ['recommended' => '1'], - 'opcache.enable_cli' => ['recommended' => '0', 'remark' => 'Enable when you using CLI'], + 'opcache.enable_cli' => ['recommended' => '0', 'remark' => 'Enable when you are using queues or running repetitive CLI tasks'], 'opcache.jit' => ['recommended' => 'tracing', 'remark' => 'Disable when you used third-party extensions'], 'opcache.jit_buffer_size' => ['recommended' => '128', 'remark' => 'Adjust with your free space of memory'], 'opcache.memory_consumption' => ['recommended' => '128', 'remark' => 'Adjust with your free space of memory'],