mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-10-28 10:40:07 +00:00
tweaks and fixes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
a47f6d7c1e
commit
5fb8b70cdf
@ -120,12 +120,13 @@ done
|
||||
/var/www/nextcloud/config/config.php"
|
||||
|
||||
# set opcache.interned_strings_buffer...
|
||||
PHP_VERSION=$(lxc-attach $ID -- php --version \
|
||||
| sed -ne 's/^PHP \([0-9]\+\.[0-9]\+\).*/\1/p')
|
||||
PHP_VERSION=$(\
|
||||
lxc-attach $ID -- php --version \
|
||||
| sed -ne 's/^PHP \([0-9]\+\.[0-9]\+\).*/\1/p')
|
||||
@ lxc-attach $ID -- bash -c "\
|
||||
sed -i \
|
||||
-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...
|
||||
# for more info see:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user