diff --git a/rootfs/sysprepz/apache2-templates/php72fpm.sh b/rootfs/sysprepz/apache2-templates/php72fpm.sh index 80d7de9..61f94b9 100755 --- a/rootfs/sysprepz/apache2-templates/php72fpm.sh +++ b/rootfs/sysprepz/apache2-templates/php72fpm.sh @@ -43,7 +43,7 @@ rm -f /home/$user/web/$domain/cgi-bin/php*-fpm.conf # otherwise, simply use: # find /etc/init.d/ -name 'php*-fpm*' -type f -exec basename {} \; | xargs -I{} service {} restart || true phpfpms="7.2:7.3:7.4" -set -f # avoid globbing (expansion of *). + iphpfpm=(${phpfpms//:/ }) for i in "${!iphpfpm[@]}" do diff --git a/rootfs/sysprepz/apache2-templates/php73fpm.sh b/rootfs/sysprepz/apache2-templates/php73fpm.sh index 033c12f..258fcc7 100755 --- a/rootfs/sysprepz/apache2-templates/php73fpm.sh +++ b/rootfs/sysprepz/apache2-templates/php73fpm.sh @@ -43,7 +43,7 @@ rm -f /home/$user/web/$domain/cgi-bin/php*-fpm.conf # otherwise, simply use: # find /etc/init.d/ -name 'php*-fpm*' -type f -exec basename {} \; | xargs -I{} service {} restart || true phpfpms="7.2:7.3:7.4" -set -f # avoid globbing (expansion of *). + iphpfpm=(${phpfpms//:/ }) for i in "${!iphpfpm[@]}" do diff --git a/rootfs/sysprepz/apache2-templates/php74fpm.sh b/rootfs/sysprepz/apache2-templates/php74fpm.sh index 08f477c..60eb565 100755 --- a/rootfs/sysprepz/apache2-templates/php74fpm.sh +++ b/rootfs/sysprepz/apache2-templates/php74fpm.sh @@ -43,7 +43,7 @@ rm -f /home/$user/web/$domain/cgi-bin/php*-fpm.conf # otherwise, simply use: # find /etc/init.d/ -name 'php*-fpm*' -type f -exec basename {} \; | xargs -I{} service {} restart || true phpfpms="7.2:7.3:7.4" -set -f # avoid globbing (expansion of *). + iphpfpm=(${phpfpms//:/ }) for i in "${!iphpfpm[@]}" do