From 7b1b0ac10406d5420409f27bfc69d6bdbe7f107c Mon Sep 17 00:00:00 2001 From: MichaIng <28480705+MichaIng@users.noreply.github.com> Date: Sat, 11 May 2019 17:07:08 +0200 Subject: [PATCH] v6.23 + DietPi-Patch | Nextcloud: Do not set "opcache.enable_cli=1" any more, which is not recommended since Nextcloud v16.0.1: nextcloud/documentation#1439 --- dietpi/patch_file | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dietpi/patch_file b/dietpi/patch_file index 356273298c..dedb4fc9f1 100644 --- a/dietpi/patch_file +++ b/dietpi/patch_file @@ -1949,9 +1949,8 @@ Your Nextcloud data are not touched.' if grep -q '^aSOFTWARE_INSTALL_STATE\[114\]=2' /DietPi/dietpi/.installed; then G_AGI $PHP_NAME-intl - 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.memory_consumption=128\nopcache.save_comments=1\nopcache.revalidate_freq=1' > /etc/php/${PHP_NAME#php}/mods-available/dietpi-nextcloud.ini + echo -e '; Nextcloud PHP settngs\n; priority=99\napc.enable_cli=1\nopcache.enable=1\nopcache.interned_strings_buffer=8 +opcache.max_accelerated_files=10000\nopcache.memory_consumption=128\nopcache.save_comments=1\nopcache.revalidate_freq=1' > /etc/php/${PHP_NAME#php}/mods-available/dietpi-nextcloud.ini phpenmod dietpi-nextcloud fi