Add support for php8.4
This commit is contained in:
parent
1237c3c54b
commit
a62ee65b50
1 changed files with 8 additions and 0 deletions
|
@ -436,6 +436,8 @@ create_www_account() {
|
|||
pool_path="/etc/php/8.2/fpm/pool.d/"
|
||||
elif [ "$php_version" = "83" ]; then
|
||||
pool_path="/etc/php/8.3/fpm/pool.d/"
|
||||
elif [ "$php_version" = "84" ]; then
|
||||
pool_path="/etc/php/8.4/fpm/pool.d/"
|
||||
else
|
||||
pool_path="/etc/php5/fpm/pool.d/"
|
||||
fi
|
||||
|
@ -620,6 +622,9 @@ EOT
|
|||
elif [ "$php_version" = "83" ]; then
|
||||
initscript_path="/etc/init.d/php8.3-fpm"
|
||||
binary="php-fpm8.3"
|
||||
elif [ "$php_version" = "84" ]; then
|
||||
initscript_path="/etc/init.d/php8.4-fpm"
|
||||
binary="php-fpm8.4"
|
||||
else
|
||||
initscript_path="/etc/init.d/php5-fpm"
|
||||
binary="php5-fpm"
|
||||
|
@ -796,6 +801,9 @@ op_del() {
|
|||
elif [ "$php_version" = "83" ]; then
|
||||
phpfpm_dir="/etc/php/8.3/fpm/pool.d/"
|
||||
initscript_path="/etc/init.d/php8.3-fpm"
|
||||
elif [ "$php_version" = "84" ]; then
|
||||
phpfpm_dir="/etc/php/8.4/fpm/pool.d/"
|
||||
initscript_path="/etc/init.d/php8.4-fpm"
|
||||
else
|
||||
phpfpm_dir="/etc/php5/fpm/pool.d/"
|
||||
initscript_path="/etc/init.d/php5-fpm"
|
||||
|
|
Loading…
Add table
Reference in a new issue