Skip to content

Commit 4f524dc

Browse files
author
Alexandros
committed
Remove php-cgi from phpfpm installation.
1 parent 2e20422 commit 4f524dc

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

install/hst-install-debian.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -809,6 +809,9 @@ fi
809809
if [ "$iptables" = 'no' ] || [ "$fail2ban" = 'no' ]; then
810810
software=$(echo "$software" | sed -e "s/fail2ban//")
811811
fi
812+
if [ "$phpfpm" = 'yes' ]; then
813+
software=$(echo "$software" | sed -e 's/php$fpm_v-cgi//')
814+
fi
812815
if [ -d "$withdebs" ]; then
813816
software=$(echo "$software" | sed -e "s/hestia-nginx//")
814817
software=$(echo "$software" | sed -e "s/hestia-php//")

install/hst-install-ubuntu.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -774,6 +774,9 @@ fi
774774
if [ "$iptables" = 'no' ] || [ "$fail2ban" = 'no' ]; then
775775
software=$(echo "$software" | sed -e "s/fail2ban//")
776776
fi
777+
if [ "$phpfpm" = 'yes' ]; then
778+
software=$(echo "$software" | sed -e 's/php$fpm_v-cgi//')
779+
fi
777780
if [ -d "$withdebs" ]; then
778781
software=$(echo "$software" | sed -e "s/hestia-nginx//")
779782
software=$(echo "$software" | sed -e "s/hestia-php//")

0 commit comments

Comments
 (0)