1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-04-01 21:27:22 +02:00

Ubuntu 20.04: Upgrade from PHP 7.2 to 7.4

This commit is contained in:
Daniel Mabbett
2020-04-24 14:25:43 +10:00
parent 1137bc471a
commit ef4fcd0173
7 changed files with 22 additions and 22 deletions

View File

@@ -26,7 +26,7 @@ if [ ! -f $1/config.php ]; then
fi
echo "Restoring backup from $1"
service php7.2-fpm stop
service php7.4-fpm stop
# remove the current ownCloud/Nextcloud installation
rm -rf /usr/local/lib/owncloud/
@@ -45,5 +45,5 @@ chown www-data.www-data $STORAGE_ROOT/owncloud/config.php
sudo -u www-data php /usr/local/lib/owncloud/occ maintenance:mode --off
service php7.2-fpm start
service php7.4-fpm start
echo "Done"