From 0709747a1ebd61c6d101167831774571b25cdd68 Mon Sep 17 00:00:00 2001 From: Brice Waegeneire Date: Tue, 5 Oct 2021 10:13:12 +0200 Subject: [PATCH] web-add.sh script now handles php 8.0 containers --- scripts/web-add.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/web-add.sh b/scripts/web-add.sh index 7370546..e71da64 100755 --- a/scripts/web-add.sh +++ b/scripts/web-add.sh @@ -416,6 +416,8 @@ create_www_account() { pool_path="/etc/php/7.3/fpm/pool.d/" elif [ "$php_version" = "74" ]; then pool_path="/etc/php/7.4/fpm/pool.d/" + elif [ "$php_version" = "80" ]; then + pool_path="/etc/php/8.0/fpm/pool.d/" else pool_path="/etc/php5/fpm/pool.d/" fi @@ -586,6 +588,9 @@ EOT elif [ "$php_version" = "74" ]; then initscript_path="/etc/init.d/php7.4-fpm" binary="php-fpm7.4" + elif [ "$php_version" = "80" ]; then + initscript_path="/etc/init.d/php8.0-fpm" + binary="php-fpm8.0" else initscript_path="/etc/init.d/php5-fpm" binary="php5-fpm"