Skip to content

Commit ae71f1c

Browse files
committed
fix: adjust remark
1 parent b6cf4cf commit ae71f1c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

system/Security/CheckPhpIni.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,9 @@ public static function checkIni(): array
140140
'zend.assertions' => ['recommended' => '-1'],
141141
'opcache.memory_consumption' => ['recommended' => '728', 'remark' => 'Increasing the configured memory size (MB) will improve performance by caching those files'],
142142
'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)'],
143+
'opcache.memory_consumption' => ['recommended' => '512', 'remark' => 'Adjust with your free space of memory)'],
143144
'opcache.interned_strings_buffer' => ['recommended' => '64'],
144-
'opcache.max_accelerated_files' => ['recommended' => '56000', 'remark' => 'Increasing the configured accelerated will many cache files into OPCache hash table'],
145+
'opcache.max_accelerated_files' => ['recommended' => '40000', 'remark' => 'Find many files in your project (example: find your_project/ -iname *.php|wc -l)'],
145146
'opcache.max_wasted_percentage' => ['recommended' => '15'],
146147
'opcache.validate_timestamps' => ['recommended' => '0'],
147148
'opcache.revalidate_freq' => ['recommended' => '0'],

0 commit comments

Comments
 (0)