Skip to content

Commit 2cb0ae3

Browse files
committed
Add remove routine for php7.4 pool configs.
1 parent aeb8511 commit 2cb0ae3

File tree

9 files changed

+45
-0
lines changed

9 files changed

+45
-0
lines changed

install/deb/multiphp/apache2/PHP-56.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,9 @@ if [ -f "$pool_file_73" ]; then
7070
service php7.3-fpm restart
7171
fi
7272

73+
if [ -f "$pool_file_74" ]; then
74+
rm $pool_file_74
75+
service php7.4-fpm restart
76+
fi
77+
7378
exit 0

install/deb/multiphp/apache2/PHP-70.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,9 @@ if [ -f "$pool_file_73" ]; then
7070
service php7.3-fpm restart
7171
fi
7272

73+
if [ -f "$pool_file_74" ]; then
74+
rm $pool_file_74
75+
service php7.4-fpm restart
76+
fi
77+
7378
exit 0

install/deb/multiphp/apache2/PHP-71.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,9 @@ if [ -f "$pool_file_73" ]; then
7070
service php7.3-fpm restart
7171
fi
7272

73+
if [ -f "$pool_file_74" ]; then
74+
rm $pool_file_74
75+
service php7.4-fpm restart
76+
fi
77+
7378
exit 0

install/deb/multiphp/apache2/PHP-72.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,9 @@ if [ -f "$pool_file_73" ]; then
7070
service php7.3-fpm restart
7171
fi
7272

73+
if [ -f "$pool_file_74" ]; then
74+
rm $pool_file_74
75+
service php7.4-fpm restart
76+
fi
77+
7378
exit 0

install/deb/multiphp/apache2/PHP-73.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,9 @@ if [ ! -f "$pool_file_73" ]; then
7070
service php7.3-fpm restart
7171
fi
7272

73+
if [ -f "$pool_file_74" ]; then
74+
rm $pool_file_74
75+
service php7.4-fpm restart
76+
fi
77+
7378
exit 0

install/deb/multiphp/nginx/PHP-56.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,9 @@ if [ -f "$pool_file_73" ]; then
7070
service php7.3-fpm restart
7171
fi
7272

73+
if [ -f "$pool_file_74" ]; then
74+
rm $pool_file_74
75+
service php7.4-fpm restart
76+
fi
77+
7378
exit 0

install/deb/multiphp/nginx/PHP-70.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,9 @@ if [ -f "$pool_file_73" ]; then
7070
service php7.3-fpm restart
7171
fi
7272

73+
if [ -f "$pool_file_74" ]; then
74+
rm $pool_file_74
75+
service php7.4-fpm restart
76+
fi
77+
7378
exit 0

install/deb/multiphp/nginx/PHP-71.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,9 @@ if [ -f "$pool_file_73" ]; then
7070
service php7.3-fpm restart
7171
fi
7272

73+
if [ -f "$pool_file_74" ]; then
74+
rm $pool_file_74
75+
service php7.4-fpm restart
76+
fi
77+
7378
exit 0

install/deb/multiphp/nginx/PHP-72.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,9 @@ if [ -f "$pool_file_73" ]; then
7070
service php7.3-fpm restart
7171
fi
7272

73+
if [ -f "$pool_file_74" ]; then
74+
rm $pool_file_74
75+
service php7.4-fpm restart
76+
fi
77+
7378
exit 0

0 commit comments

Comments
 (0)