Implemented
0
Make "The PHP OPcache is not properly configured" a little bit more tolerant and precise (Suggestion)
Source: nextcloud/server#27094 · opened by @Linuxfabrik
Related Code: apps/settings/lib/Controller/CheckSetupController.php: protected function isOpcacheProperlySetup() Related Doc: --- After monitoring our OpCaches, the function isOpcacheProperlySetup() should be a bit more tolerant and precise. These are our suggestions: max_accelerated_files According to php.net: > The maximum number of keys (and therefore scripts) in the OPcache hash table. The actual value used will be the first number in the set of prime numbers { 223, 463, 983, 1979, 3907, 7963, 16229, 32531, 65407, 130987, 262237, 524521, 1048793 } that is greater than or equal to the configured value. The minimum value is 200. The maximum value is 1000000. Values outside of this range are clamped to the permissible range. Means: As long as Nextcloud consists of fewer than 16229 files, check on if ($this->iniGetWrapper->getNumeric('opcache.max_accelerated_files') <= 7963) (some Admins like to configure the precise values, and 10000 is as good …
No pledges yet. Be the first to back this.
Comments
Similar requests
Optimal approach to managing the value of `interned_strings_buffer`
0 votes · 0 comments
[RFC / Feature Proposal] Relaxing Strict PHP Upper-Bound Enforcement into Configurable Soft Warnings for Emergency Security Mitigations (e.g., `php2shell`)
1 vote · 0 comments
Support PHP 8.6
5 votes · 0 comments
opcache would ideally check meaningful operation, not just installation
0 votes · 0 comments
Export Bluesky, Fediverse, and IMPP to system contacts
0 votes · 0 comments
No comments yet.