The PHP_VERSION was passed inline to setup_php which uses it as a local
variable. This caused 'unbound variable' error in the nginx heredoc.
Setting PHP_VERSION before the function call keeps it in global scope
for use in the nginx configuration.
* fix(2fauth): use default PHP version instead of hardcoded 8.3
- Remove hardcoded PHP_VERSION=8.3, let setup_php use default (8.4)
- Remove invalid modules 'session' and 'openssl' (part of php-common)
- Remove duplicate 'cli' module (already in DEFAULT_MODULES)
- Make nginx fastcgi_pass use dynamic PHP_VERSION variable
Fixes installation on Debian 13 (Trixie) which ships PHP 8.4.
* Update 2fauth-install.sh
* feat(2fauth): ✨ Added 2FAuth
* refactor: 🚚 Changed path to user repo
* refactor: 🚚 Changed path to user repo
* refactor: 🚚 Changed path to user repo
* refactor: 🚚 Changed path to user repo
* refactor: 🚚 Changed path to user repo
* fix(2fauth): 🐛 Fixed path to build functions file
* fix(2fauth): 🐛 Fixed unbound variable
* fix(2fauth): 🐛 Use instead of for the directory name
* chore(2fauth): ✨ Added dependency package for improved composer performance
* chore(2fauth): ✨ Added dependency package as it's required
* chore(2fauth): ✨ Added dependency package `php8.2-fpm` as it's required
* fix(2fauth): 🐛 Fixed unbound variable
* fix(2fauth): 🐛 Fixed installation
* fix(install): 🐛 Fixed unassigned variable
* fix(install): 🐛 Fixed installation
* fix(install): 🐛 explicitly set ownership as last step
* revert: ⏪ Revert path rewrite to user repo
* revert: ⏪ Revert path rewrite to user repo
* refactor(2fauth): ⚰️ Removed commented-out code
* fix(2fauth): 🚚 Fixed path to remove correctly
* refactor(2fauth): 🎨 Changed from variables to static as requested
* docs(2fauth): 📝 Added notes for db credentials and the first account being an administrator account
* fix(2fauth): 🔊 Updated progress logging
* test(2fauth): 🚚 Changed pathes temporarily to user repo to test the App
* fix(2fauth): 🚑 Fixed wrong version file in update_script
* fix(2fauth): 💄 Removed duplicated version prefix v in messages
* Revert 'test(2fauth): 🚚 Changed pathes temporarily to user repo to test the App'