Skip to content

Commit 0079494

Browse files
committed
fix: adjust remark
1 parent 2a1087d commit 0079494

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,9 +135,9 @@ public static function checkIni(): array
135135
'opcache.enable_cli' => [],
136136
'opcache.jit' => [],
137137
'opcache.jit_buffer_size' => [],
138-
'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)'],
138+
'opcache.memory_consumption' => ['recommended' => '512', 'remark' => 'Adjust with your free space of memory)'],
139139
'opcache.interned_strings_buffer' => ['recommended' => '64'],
140-
'opcache.max_accelerated_files' => ['recommended' => '56000', 'remark' => 'Increasing the configured accelerated will many cache files into OPCache hash table'],
140+
'opcache.max_accelerated_files' => ['recommended' => '40000', 'remark' => 'Find many files in your project (example: find your_project/ -iname *.php|wc -l)'],
141141
'opcache.max_wasted_percentage' => ['recommended' => '15'],
142142
'opcache.validate_timestamps' => ['recommended' => '0'],
143143
'opcache.revalidate_freq' => ['recommended' => '0'],

0 commit comments

Comments
 (0)