Skip to content

Commit

Permalink
v6.23
Browse files Browse the repository at this point in the history
+ DietPi-Software | Nextcloud: Add opcache.memory_consumption=128 to PHP config directly instead of per-dir via webserver config. It does not make any difference since once Nextcloud web UI was entered once, the new value overrides the existing global value server-wide. This solves an issue on Lighttpd as well which does not allow multiple setenv.add-environment entries in different config files/conditional statements.
  • Loading branch information
MichaIng authored Apr 26, 2019
1 parent 166441f commit faa7dcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dietpi/dietpi-software
Original file line number Diff line number Diff line change
Expand Up @@ -7937,7 +7937,7 @@ _EOF_
G_DIETPI-NOTIFY 2 'Optimising APCu and OPcache modules for Nextcloud.' # https://docs.nextcloud.com/server/stable/admin_manual/configuration_server/server_tuning.html#enable-php-opcache
echo -e '; Nextcloud PHP settngs\n; priority=99\napc.enable_cli=1\nopcache.enable=1
opcache.enable_cli=1\nopcache.interned_strings_buffer=8\nopcache.max_accelerated_files=10000
opcache.save_comments=1\nopcache.revalidate_freq=1' > $FP_PHP_BASE_DIR/mods-available/dietpi-nextcloud.ini
opcache.memory_consumption=128\nopcache.save_comments=1\nopcache.revalidate_freq=1' > $FP_PHP_BASE_DIR/mods-available/dietpi-nextcloud.ini
phpenmod dietpi-nextcloud

if (( ${aSOFTWARE_INSTALL_STATE[83]} > 0 )); then
Expand Down

0 comments on commit faa7dcd

Please sign in to comment.