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:
parent
74537a8858
commit
5f4811e394
2 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,6 @@ ynh_install_php7 () {
|
||||||
|
|
||||||
ynh_package_update
|
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
|
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
|
sudo update-alternatives --install /usr/bin/php php /usr/bin/php5 70
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -183,6 +183,7 @@ fi
|
||||||
#=================================================
|
#=================================================
|
||||||
# RELOAD NGINX
|
# RELOAD NGINX
|
||||||
#=================================================
|
#=================================================
|
||||||
|
service php7.1-fpm start
|
||||||
systemctl reload php7.1-fpm
|
systemctl reload php7.1-fpm
|
||||||
systemctl reload nginx
|
systemctl reload nginx
|
||||||
# Set default php to php5 or php7.0
|
# Set default php to php5 or php7.0
|
||||||
|
|
Loading…
Add table
Reference in a new issue