Browse Source

We are now using php7.0

Kayou 6 years ago
parent
commit
646f2ee61f
2 changed files with 2 additions and 4 deletions
  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
 
 #=================================================