From 5f4811e394d5aaeb0ddad4e5ed0510d9eb0bc1d9 Mon Sep 17 00:00:00 2001 From: anmol26s Date: Sat, 6 Oct 2018 19:46:23 +0530 Subject: [PATCH] start php7.1 before reload --- scripts/_common.sh | 1 - scripts/install | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index ce15208..9b942c6 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -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 } diff --git a/scripts/install b/scripts/install index 169a755..a6e7d86 100755 --- a/scripts/install +++ b/scripts/install @@ -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