tweaks and fixes...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2024-12-13 16:28:15 +03:00
parent a47f6d7c1e
commit 5fb8b70cdf

View File

@ -120,12 +120,13 @@ done
/var/www/nextcloud/config/config.php" /var/www/nextcloud/config/config.php"
# set opcache.interned_strings_buffer... # set opcache.interned_strings_buffer...
PHP_VERSION=$(lxc-attach $ID -- php --version \ PHP_VERSION=$(\
| sed -ne 's/^PHP \([0-9]\+\.[0-9]\+\).*/\1/p') lxc-attach $ID -- php --version \
| sed -ne 's/^PHP \([0-9]\+\.[0-9]\+\).*/\1/p')
@ lxc-attach $ID -- bash -c "\ @ lxc-attach $ID -- bash -c "\
sed -i \ sed -i \
-e '/opcache.interned_strings_buffer/ a opcache.interned_strings_buffer=32' \ -e '/opcache.interned_strings_buffer/ a opcache.interned_strings_buffer=32' \
/etc/php/${PHP_VERSION}/cli/php.ini" /etc/php/${PHP_VERSION}/apache2/php.ini"
# remove /index.php from urls... # remove /index.php from urls...
# for more info see: # for more info see: