# HG changeset patch # User IBBoard # Date 1681926323 -3600 # Node ID 6293839019d0debcad7632eeeb82d31736295607 # Parent 377fbb08568a0010733db57037b71de783e2548e Adjust PHP settings for NextCloud The CLI wants APCu enabled Other settings were recommended to get different values diff -r 377fbb08568a -r 6293839019d0 modules/website/manifests/php.pp --- a/modules/website/manifests/php.pp Wed Apr 19 18:44:13 2023 +0100 +++ b/modules/website/manifests/php.pp Wed Apr 19 18:45:23 2023 +0100 @@ -47,6 +47,9 @@ 'PHP/post_max_size' => "8M", 'Data/date.timezone' => 'UTC', }, + cli_settings => { + 'apc.enable_cli' => 1 , + }, extensions => { ctype => { ini_prefix => '20-', @@ -66,11 +69,11 @@ settings => { 'opcache.enable' => 1, 'opcache.enable_cli' => 1, - 'opcache.interned_strings_buffer' => 8, + 'opcache.interned_strings_buffer' => 16, 'opcache.max_accelerated_files' => 10000, 'opcache.memory_consumption' => 128, 'opcache.save_comments' => 1, - 'opcache.revalidate_freq' => 1, + 'opcache.revalidate_freq' => 60, } }, xml => {