Skip to content

Commit e5e4e9a

Browse files
authored
Added additional check
1 parent 133b3a6 commit e5e4e9a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

install/upgrade/manual/migrate_mpm_event.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ if [ "$WEB_SYSTEM" != "apache2" ]; then
1010
echo "Apache2 isn't installed on your system, canceling migration..." && exit 1
1111
fi
1212

13+
#Check if PHP-FPM is instaled
14+
if [ "$WEB_BACKEND" != "php-fpm"]; then
15+
echo "PHP-FPM not yet installed please run migrate_apache.sh first" && exit 1
16+
fi
17+
1318
# Check if mod_event is already enabled
1419
if [ $(a2query -M) = 'event' ]; then
1520
echo "mod_event is already enabled, canceling migration..." && exit 1

0 commit comments

Comments
 (0)