From 00794946391b9369d58c548eb8fe0d780819d309 Mon Sep 17 00:00:00 2001 From: Denny Septian Panggabean Date: Tue, 9 Jul 2024 09:21:56 +0700 Subject: [PATCH] fix: adjust remark --- system/Security/CheckPhpIni.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/Security/CheckPhpIni.php b/system/Security/CheckPhpIni.php index ec12824bc19c..1b1fb51e936c 100644 --- a/system/Security/CheckPhpIni.php +++ b/system/Security/CheckPhpIni.php @@ -135,9 +135,9 @@ public static function checkIni(): array 'opcache.enable_cli' => [], 'opcache.jit' => [], 'opcache.jit_buffer_size' => [], - 'opcache.memory_consumption' => ['recommended' => '728', 'remark' => 'Increasing the configured memory size (MB) will improve performance by caching those files (consideration based on free space of memory)'], + 'opcache.memory_consumption' => ['recommended' => '512', 'remark' => 'Adjust with your free space of memory)'], 'opcache.interned_strings_buffer' => ['recommended' => '64'], - 'opcache.max_accelerated_files' => ['recommended' => '56000', 'remark' => 'Increasing the configured accelerated will many cache files into OPCache hash table'], + 'opcache.max_accelerated_files' => ['recommended' => '40000', 'remark' => 'Find many files in your project (example: find your_project/ -iname *.php|wc -l)'], 'opcache.max_wasted_percentage' => ['recommended' => '15'], 'opcache.validate_timestamps' => ['recommended' => '0'], 'opcache.revalidate_freq' => ['recommended' => '0'],