mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-04-28 11:50:06 +00:00
fix(2fauth): export PHP_VERSION for nginx config (#11441)
The PHP_VERSION variable was only available within the setup_php function call scope. By setting it separately before the function call, it remains available for the nginx configuration heredoc. Fixes #11439
This commit is contained in:
parent
ff9f0ed21d
commit
98dc00a1a0
1 changed files with 2 additions and 1 deletions
|
|
@ -17,7 +17,8 @@ msg_info "Installing Dependencies"
|
|||
$STD apt install -y nginx
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
PHP_VERSION="8.4" PHP_FPM="YES" setup_php
|
||||
export PHP_VERSION="8.4"
|
||||
PHP_FPM="YES" setup_php
|
||||
setup_composer
|
||||
setup_mariadb
|
||||
MARIADB_DB_NAME="2fauth_db" MARIADB_DB_USER="2fauth" setup_mariadb_db
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue