Browse Source

Fix: #3414 restart current php version first (#3415)

Jaap Marcus 3 years ago
parent
commit
069fb91da7
1 changed files with 2 additions and 1 deletions
  1. 2 1
      bin/v-change-sys-php

+ 2 - 1
bin/v-change-sys-php

@@ -52,7 +52,8 @@ for user in $($BIN/v-list-sys-users plain); do
 	$BIN/v-rebuild-mail-domains "$user" 'no' > /dev/null 2>&1
 done
 
-# restart
+# Reload "current" php version before reload everthing
+$BIN/v-restart-web-backend '' $(multiphp_default_version)
 $BIN/v-restart-web-backend
 $BIN/v-restart-web
 $BIN/v-restart-proxy