Update Raspbian PHP version handling in nginx.sh

This commit is contained in:
Alex
2026-07-31 17:23:49 +00:00
committed by GitHub
parent 722d916271
commit 3dc4ef925e

View File

@@ -17,6 +17,15 @@ if [ ."$cpu_architecture" = ."arm" ]; then
if [ ."$os_codename" = ."bullseye" ]; then
php_version=7.4
fi
if [ ."$os_codename" = ."bookworm" ]; then
php_version=8.2
fi
if [ ."$os_codename" = ."trixie" ]; then
php_version=8.4
fi
if [ ."$os_codename" = ."forky" ]; then
php_version=8.4
fi
fi
#set the version of php