1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/monica_ynh.git synced 2024-09-03 19:46:23 +02:00

start php7.1 before reload

This commit is contained in:
anmol26s 2018-10-06 19:46:23 +05:30
parent 74537a8858
commit 5f4811e394
2 changed files with 1 additions and 1 deletions

View file

@ -110,7 +110,6 @@ ynh_install_php7 () {
ynh_package_update
ynh_install_app_dependencies php7.1 php7.1-cli php7.1-common php7.1-json php7.1-opcache php7.1-mysql php7.1-mbstring php7.1-mcrypt php7.1-zip php7.1-fpm php7.1-bcmath php7.1-intl php7.1-simplexml php7.1-dom php7.1-curl php7.1-gd
service php7.1-fpm restart
sudo update-alternatives --install /usr/bin/php php /usr/bin/php5 70
}

View file

@ -183,6 +183,7 @@ fi
#=================================================
# RELOAD NGINX
#=================================================
service php7.1-fpm start
systemctl reload php7.1-fpm
systemctl reload nginx
# Set default php to php5 or php7.0