Open tio-trom opened 11 months ago
I changed the values in php.ini and restarted the php and still same error:
The PHP OPcache module is not properly configured. See the documentation ↗ for more information.
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 10000.
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 1000.
Despite adding crazy high values. What happens?
I even did as recommended here https://github.com/nextcloud/server/issues/37618#issuecomment-1499251503 - but doesnt work...
Updated to 27.1.4~ynh1 and still the same issue. What can be done?
No solution to this?
I came here because I get the same message and also the downloads are often slow and someone suggested it could be some php cache problem. Download speeds mostly max out at 10-20 MByte/s, connection is 500MBit/s.
@tio-trom is there maybe separate config for this app (I mean for Nextcloud)?
@tio-trom is there maybe separate config for this app (I mean for Nextcloud)?
I am unsure honestly. On my instance it does not seem to impact it negatively. But prob need to look deeper into this.
So I already have it setup right in the php file documented here https://docs.nextcloud.com/server/28/admin_manual/installation/server_tuning.html#enable-php-opcache:
But that does not fix the issue...
I got a very same error message (Version: 28.0.5~ynh1)
"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 "32".."
I find out, that nextcloud on my yunohost is using PHP V 8.2.19. so I scan for the php.ini files on the system root@struppi:/home/struppi# find / -name php.ini /var/www/nextcloud/3rdparty/aws/aws-crt-php/php.ini /etc/php/7.4/cli/php.ini /etc/php/7.4/fpm/php.ini /etc/php/7.4/cgi/php.ini /etc/php/8.2/cli/php.ini /etc/php/8.2/fpm/php.ini /etc/php/8.0/cli/php.ini
but in both 8.2 php.ini files the opcache is off. even if I start a nexcloud shell in the yunohost app it is the same. Where is the PHP configuration for nextcloud?
I see that error after updating to 27.1.2~ynh2
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