Install Config Wiki

All about installing, configuring and troubleshooting

User Tools

Site Tools


NextCloud 27.0.0 In php.ini Increase opcache.interned_strings_buffer to a Value Higher than 8

In the Administrative Overview section of NextCloud, the following warning appeared:

The PHP OPcache module is not properly configured. See the documentation for more information. 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.

Edit PHP.ini with Vim to adjust opcache.interned_strings_buffer and opcache.memory_consumption. E.g. Just increase their values for now, as follows:

Find and edit the php.ini file in the following directory:

cd /etc/php/8.1/apache2


[to list php.ini file]

Use Vim to edit the php.ini file.

sudo vim php.ini

Change the value of the buffer from 8 to 16 Change the value of memory consumption from 128 to 256 By editing the following settings within the php.ini file


Save and exit vim.

Restart the Apache2 service

sudo systemctl restart apache2

See whether the warning message, “the OPcache interned strings buffer is nearly full,” has disappeared from the nextcloud administration overview section. It should be gone, and all is well.

nextcloud_27_php_ini_increase_opcache_interned_strings_buffer_value_higher_than_8.txt · Last modified: 2023/06/25 08:04 by wikiadmin