Skip to content

Commit

Permalink
v6.23
Browse files Browse the repository at this point in the history
+ DietPi-Patch | Nextcloud: Do not set "opcache.enable_cli=1" any more, which is not recommended since Nextcloud v16.0.1: nextcloud/documentation#1439
  • Loading branch information
MichaIng committed May 11, 2019
1 parent a24a269 commit 7b1b0ac
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions dietpi/patch_file
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7b1b0ac

Please sign in to comment.