Skip to content

Commit

Permalink
v6.23
Browse files Browse the repository at this point in the history
+ DietPi-Software | 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 authored May 11, 2019
1 parent e20d784 commit a24a269
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions dietpi/dietpi-software
Original file line number Diff line number Diff line change
Expand Up @@ -7778,9 +7778,8 @@ _EOF_
(( $G_DISTRO > 3 )) && phpenmod ctype dom fileinfo iconv mbstring posix simplexml xmlwriter xmlreader zip exif

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.memory_consumption=128\nopcache.save_comments=1\nopcache.revalidate_freq=1' > $FP_PHP_BASE_DIR/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' > $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 a24a269

Please sign in to comment.