After updating Nextcloud to version 23, i get this on the admin-page of Nextcloud :
The PHP OPcache module is not properly configured:
The OPcache buffer is nearly full. To assure that all scripts can be hold in cache, it is recommended to apply opcache.memory_consumption to your PHP configuration with a value higher than 128 .
Haven’t tried but maybe it works by dropping a file with the setting:
creating file /etc/opt/rh/rh-php73/php-fpm.d/111-nextcloud.conf with content:
php_value[opcache.memory_consumption] = 256
256 value is just an example.
or use a custom template instead…
You might need to restart the corresponding php service or apache web server.
But maybe the devs can consider to include it by default on the next rpm release (
for instance on /etc/opt/rh/rh-php73/php-fpm.d/000-nextcloud.conf file)
Just change the existing value in /etc/opt/rh/rh-php73/php-fpm.d/000-nextcloud.conf.
Ofcourse this wil not prevent the value to change again if updates are implemented.
The PHP OPcache module is not properly configured:
The maximum number of OPcache keys is nearly exceeded. To assure that all scripts can be hold in cache, it is recommended to apply opcache.max_accelerated_files to your PHP configuration with a value higher than 10000 .
The OPcache buffer is nearly full. To assure that all scripts can be hold in cache, it is recommended to apply opcache.memory_consumption to your PHP configuration with a value higher than 256 .
The OPcache interned strings buffer is nearly full. To assure that repeating strings can be effectively cached, it is recommended to apply opcache.interned_strings_buffer to your PHP configuration with a value higher than 8 .
The PHP OPcache module is not properly configured:
The OPcache interned strings buffer is nearly full. To assure that repeating strings can be effectively cached, it is recommended to apply opcache.interned_strings_buffer to your PHP configuration with a value higher than 8.