web-add.sh script now handles php 8.0 containers

This commit is contained in:
Brice Waegeneire 2021-10-05 10:06:14 +02:00
parent e3dc97d6d4
commit 360929ee96

View file

@ -764,6 +764,9 @@ op_del() {
elif [ "$php_version" = "74" ]; then
phpfpm_dir="/etc/php/7.4/fpm/pool.d/"
initscript_path="/etc/init.d/php7.4-fpm"
elif [ "$php_version" = "80" ]; then
phpfpm_dir="/etc/php/8.0/fpm/pool.d/"
initscript_path="/etc/init.d/php8.0-fpm"
else
phpfpm_dir="/etc/php5/fpm/pool.d/"
initscript_path="/etc/init.d/php5-fpm"