"Fixing PHP OPcache Configuration Issue in Nextcloud" » History » Revision 1
Revision 1/4
| Next »
Gareth Eaton, 04/08/2023 09:11 AM
"Fixing PHP OPcache Configuration Issue in Nextcloud"¶
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.
The location of the php.ini file can vary depending on your operating system and PHP installation. Here are some common locations for the file:
On Linux systems using PHP installed via a package manager, the php.ini file is typically located in /etc/php/<version>/php.ini, where <version> is the installed PHP version (e.g. /etc/php/7.4/php.ini).
Find the following and set to the below values
opcache.save_comments = 1
opcache.revalidate_freq = 60
opcache.interned_strings_buffer=8
Updated by Gareth Eaton over 1 year ago · 1 revisions