We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66f19e1 commit 7976a7bCopy full SHA for 7976a7b
bin/v-delete-web-php
@@ -88,6 +88,15 @@ fi
88
# Cleanup php folder
89
[[ -d /etc/php/$version ]] && rm -rf "/etc/php/$version"
90
91
+if [ "$WEB_BACKEND" = "php-fpm" ]; then
92
+ # Check if www.conf is still missing
93
+ if [ ! -f "/etc/php/*/fpm/pool.d/www.conf" ]; then
94
+ # If not grab the "last php version
95
+ last=$($HESTIA/bin/v-list-sys-php "shell" | tail -n1);
96
+ cp -f $HESTIA/install/deb/php-fpm/www.conf /etc/php/$last/fpm/pool.d/www.conf
97
+ $HESTIA/bin/v-restart-web-backend
98
+ fi
99
+fi
100
101
#----------------------------------------------------------#
102
# Hestia #
0 commit comments