Parcourir la source

We are now using php7.0

Kayou il y a 6 ans
Parent
commit
646f2ee61f
2 fichiers modifiés avec 2 ajouts et 4 suppressions
  1. 1 3
      scripts/install
  2. 1 1
      scripts/remove

+ 1 - 3
scripts/install

@@ -92,9 +92,7 @@ ynh_print_info "Reloading services..."
 systemctl disable openvpn
 systemctl stop openvpn
 
-systemctl enable php5-fpm
-systemctl restart php5-fpm
-
+systemctl restart php7.0-fpm
 systemctl reload nginx
 
 # main service

+ 1 - 1
scripts/remove

@@ -107,7 +107,7 @@ systemctl daemon-reload
 # Restart services
 # (this must happen before deleting the user, otherwise the user is
 # being used by one of the php pool process)
-systemctl restart php5-fpm
+systemctl restart php7.0-fpm
 systemctl reload nginx
 
 #=================================================