File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ if ! apache2ctl configtest > /dev/null 2>&1; then
2424 echo " Apache2 configtest failed" && exit 1
2525fi
2626
27- a2modules=" php5.6 php7.0 php7.1 php7.2 php7.3 php7.4 mpm_prefork mpm_itk ruid2 "
27+ a2modules=" php5.6 php7.0 php7.1 php7.2 php7.3 php7.4 ruid2 mpm_itk mpm_prefork "
2828changed_a2modules=" "
2929
3030for module in $a2modules ; do
@@ -39,6 +39,7 @@ cp -f /usr/local/hestia/install/deb/apache2/hestia-event.conf /etc/apache2/conf.
3939# Check if all went well
4040if ! apache2ctl configtest > /dev/null 2>&1 ; then
4141 echo " Something went wrong, rolling back. Please try to migrate manually to mpm_event."
42+ a2dismod -q mpm_event
4243 for module in $changed_a2modules ; do
4344 a2enmod " $module "
4445 done
You can’t perform that action at this time.
0 commit comments