nextcloud / ansible-collection-nextcloud-admin

The ansible galaxy for your nextcloud administrative needs.
https://galaxy.ansible.com/nextcloud/admin
BSD 2-Clause "Simplified" License
138 stars 77 forks source link

Apply opcache.interned_strings_buffer #324

Closed staticdev closed 9 months ago

staticdev commented 10 months ago

With Nextcloud 27.1.4, I am still getting on Security & setup warnings:

The PHP OPcache module is not properly configured. See the [documentation ↗](https://docs.nextcloud.com/server/27/go.php?to=admin-php-opcache) 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.

Probably we are not setting it properly also.

staticdev commented 10 months ago

@aalaesar also found this one in the same batch when I upgraded =p Very similar problem, fpm has an independent php.ini we basically ignore.