Browse Source

Update Raspbian 12 ARM to use PHP 8.2

Makes the install work for the Raspberry Pi
FusionPBX 1 year ago
parent
commit
86b84e122d
1 changed files with 3 additions and 0 deletions
  1. 3 0
      debian/resources/php.sh

+ 3 - 0
debian/resources/php.sh

@@ -31,6 +31,9 @@ elif [ ."$cpu_architecture" = ."arm" ]; then
 	if [ ."$os_codename" = ."bullseye" ]; then
 	      php_version=7.4
 	fi
+	if [ ."$os_codename" = ."bookworm" ]; then
+	      php_version=8.2
+	fi
 else
 	#11.x - bullseye
 	#10.x - buster