Skip to content

Commit 069fb91

Browse files
authored
Fix: hestiacp#3414 restart current php version first (hestiacp#3415)
1 parent efb6b36 commit 069fb91

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bin/v-change-sys-php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ for user in $($BIN/v-list-sys-users plain); do
5252
$BIN/v-rebuild-mail-domains "$user" 'no' > /dev/null 2>&1
5353
done
5454

55-
# restart
55+
# Reload "current" php version before reload everthing
56+
$BIN/v-restart-web-backend '' $(multiphp_default_version)
5657
$BIN/v-restart-web-backend
5758
$BIN/v-restart-web
5859
$BIN/v-restart-proxy

0 commit comments

Comments
 (0)