Add support for php8.3
This commit is contained in:
parent
3400434f90
commit
706b7540d7
|
@ -436,6 +436,8 @@ create_www_account() {
|
||||||
pool_path="/etc/php/8.1/fpm/pool.d/"
|
pool_path="/etc/php/8.1/fpm/pool.d/"
|
||||||
elif [ "$php_version" = "82" ]; then
|
elif [ "$php_version" = "82" ]; then
|
||||||
pool_path="/etc/php/8.2/fpm/pool.d/"
|
pool_path="/etc/php/8.2/fpm/pool.d/"
|
||||||
|
elif [ "$php_version" = "83" ]; then
|
||||||
|
pool_path="/etc/php/8.3/fpm/pool.d/"
|
||||||
else
|
else
|
||||||
pool_path="/etc/php5/fpm/pool.d/"
|
pool_path="/etc/php5/fpm/pool.d/"
|
||||||
fi
|
fi
|
||||||
|
@ -617,6 +619,9 @@ EOT
|
||||||
elif [ "$php_version" = "82" ]; then
|
elif [ "$php_version" = "82" ]; then
|
||||||
initscript_path="/etc/init.d/php8.2-fpm"
|
initscript_path="/etc/init.d/php8.2-fpm"
|
||||||
binary="php-fpm8.2"
|
binary="php-fpm8.2"
|
||||||
|
elif [ "$php_version" = "83" ]; then
|
||||||
|
initscript_path="/etc/init.d/php8.3-fpm"
|
||||||
|
binary="php-fpm8.3"
|
||||||
else
|
else
|
||||||
initscript_path="/etc/init.d/php5-fpm"
|
initscript_path="/etc/init.d/php5-fpm"
|
||||||
binary="php5-fpm"
|
binary="php5-fpm"
|
||||||
|
@ -790,6 +795,9 @@ op_del() {
|
||||||
elif [ "$php_version" = "82" ]; then
|
elif [ "$php_version" = "82" ]; then
|
||||||
phpfpm_dir="/etc/php/8.2/fpm/pool.d/"
|
phpfpm_dir="/etc/php/8.2/fpm/pool.d/"
|
||||||
initscript_path="/etc/init.d/php8.2-fpm"
|
initscript_path="/etc/init.d/php8.2-fpm"
|
||||||
|
elif [ "$php_version" = "83" ]; then
|
||||||
|
phpfpm_dir="/etc/php/8.3/fpm/pool.d/"
|
||||||
|
initscript_path="/etc/init.d/php8.3-fpm"
|
||||||
else
|
else
|
||||||
phpfpm_dir="/etc/php5/fpm/pool.d/"
|
phpfpm_dir="/etc/php5/fpm/pool.d/"
|
||||||
initscript_path="/etc/init.d/php5-fpm"
|
initscript_path="/etc/init.d/php5-fpm"
|
||||||
|
|
Loading…
Reference in a new issue