We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e127acc commit b6ba7aaCopy full SHA for b6ba7aa
1 file changed
install/upgrade/manual/migrate_mpm_event.sh
@@ -24,7 +24,7 @@ if ! apache2ctl configtest > /dev/null 2>&1; then
24
echo "Apache2 configtest failed" && exit 1
25
fi
26
27
-a2modules="php5.6 php7.0 php7.1 php7.2 php7.3 php7.4 mpm_prefork mpm_itk ruid2"
+a2modules="php5.6 php7.0 php7.1 php7.2 php7.3 php7.4 ruid2 mpm_itk mpm_prefork"
28
changed_a2modules=""
29
30
for module in $a2modules; do
@@ -39,6 +39,7 @@ cp -f /usr/local/hestia/install/deb/apache2/hestia-event.conf /etc/apache2/conf.
39
# Check if all went well
40
if ! apache2ctl configtest >/dev/null 2>&1; then
41
echo "Something went wrong, rolling back. Please try to migrate manually to mpm_event."
42
+ a2dismod -q mpm_event
43
for module in $changed_a2modules; do
44
a2enmod "$module"
45
done
0 commit comments