Skip to content

Commit 9aaa49a

Browse files
committed
Remove multiphp for nginx only.
1 parent 3e07154 commit 9aaa49a

File tree

2 files changed

+0
-32
lines changed

2 files changed

+0
-32
lines changed

install/hst-install-debian.sh

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -883,22 +883,6 @@ if [ "$nginx" = 'yes' ]; then
883883
cp -f $hestiacp/logrotate/nginx /etc/logrotate.d/
884884
echo > /etc/nginx/conf.d/hestia.conf
885885
mkdir -p /var/log/nginx/domains
886-
if [ "$apache" = 'no' ] && [ "$multiphp" = 'yes' ]; then
887-
update-rc.d php5.6-fpm defaults
888-
update-rc.d php7.0-fpm defaults
889-
update-rc.d php7.1-fpm defaults
890-
update-rc.d php7.2-fpm defaults
891-
cp -r /etc/php/5.6/ /root/hst_install_backups/php5.6/
892-
rm -f /etc/php/5.6/fpm/pool.d/*
893-
cp -r /etc/php/7.0/ /root/hst_install_backups/php7.0/
894-
rm -f /etc/php/7.0/fpm/pool.d/*
895-
cp -r /etc/php/7.1/ /root/hst_install_backups/php7.1/
896-
rm -f /etc/php/7.1/fpm/pool.d/*
897-
cp -r /etc/php/7.2/ /root/hst_install_backups/php7.2/
898-
rm -f /etc/php/7.2/fpm/pool.d/*
899-
cp -f $hestiacp/multiphp/nginx/* $HESTIA/data/templates/web/nginx/
900-
chmod a+x $HESTIA/data/templates/web/nginx/*.sh
901-
fi
902886
update-rc.d nginx defaults
903887
service nginx start
904888
check_result $? "nginx start failed"

install/hst-install-ubuntu.sh

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -878,22 +878,6 @@ if [ "$nginx" = 'yes' ]; then
878878
cp -f $hestiacp/logrotate/nginx /etc/logrotate.d/
879879
echo > /etc/nginx/conf.d/hestia.conf
880880
mkdir -p /var/log/nginx/domains
881-
if [ "$apache" = 'no' ] && [ "$multiphp" = 'yes' ]; then
882-
update-rc.d php5.6-fpm defaults
883-
update-rc.d php7.0-fpm defaults
884-
update-rc.d php7.1-fpm defaults
885-
update-rc.d php7.2-fpm defaults
886-
cp -r /etc/php/5.6/ /root/vst_install_backups/php5.6/
887-
rm -f /etc/php/5.6/fpm/pool.d/*
888-
cp -r /etc/php/7.0/ /root/vst_install_backups/php7.0/
889-
rm -f /etc/php/7.0/fpm/pool.d/*
890-
cp -r /etc/php/7.1/ /root/vst_install_backups/php7.1/
891-
rm -f /etc/php/7.1/fpm/pool.d/*
892-
cp -r /etc/php/7.2/ /root/vst_install_backups/php7.2/
893-
rm -f /etc/php/7.2/fpm/pool.d/*
894-
cp -f $hestiacp/multiphp/nginx/* $HESTIA/data/templates/web/nginx/
895-
chmod a+x $HESTIA/data/templates/web/nginx/*.sh
896-
fi
897881
update-rc.d nginx defaults
898882
service nginx start
899883
check_result $? "nginx start failed"

0 commit comments

Comments
 (0)