Skip to content

Commit 8a583cc

Browse files
committed
Add missing fpm dummy conf files for apache2+nginx+multiphp.
1 parent 5d031ca commit 8a583cc

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

install/hst-install-debian.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1243,6 +1243,8 @@ if [ "$apache" = 'yes' ]; then
12431243
rm -f /etc/php/$v/fpm/pool.d/*
12441244
v_tpl=$(echo "$v" | sed -e 's/[.]//')
12451245
cp -f $HESTIA_INSTALL_DIR/multiphp/apache2/PHP-$v_tpl.* $HESTIA/data/templates/web/apache2/
1246+
cp -f $HESTIA_INSTALL_DIR/php-fpm/dummy.conf /etc/php/$v/fpm/pool.d/
1247+
sed -i "s/9999/99$v_tpl/g" /etc/php/$v/fpm/pool.d/dummy.conf
12461248
done
12471249
chmod a+x $HESTIA/data/templates/web/apache2/*.sh
12481250
if [ "$release" = '8' ]; then

install/hst-install-ubuntu.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1210,6 +1210,8 @@ if [ "$apache" = 'yes' ]; then
12101210
rm -f /etc/php/$v/fpm/pool.d/*
12111211
v_tpl=$(echo "$v" | sed -e 's/[.]//')
12121212
cp -f $HESTIA_INSTALL_DIR/multiphp/apache2/PHP-$v_tpl.* $HESTIA/data/templates/web/apache2/
1213+
cp -f $HESTIA_INSTALL_DIR/php-fpm/dummy.conf /etc/php/$v/fpm/pool.d/
1214+
sed -i "s/9999/99$v_tpl/g" /etc/php/$v/fpm/pool.d/dummy.conf
12131215
done
12141216
chmod a+x $HESTIA/data/templates/web/apache2/*.sh
12151217
fi

0 commit comments

Comments
 (0)