Use php 7.4 for Raspberry Pi 4 - based on Debian 11
This commit is contained in:
parent
671a151dde
commit
4885fe58aa
|
|
@ -13,12 +13,9 @@ verbose "Installing the web server"
|
|||
|
||||
#change the version of php for arm
|
||||
if [ ."$cpu_architecture" = ."arm" ]; then
|
||||
#Pi2 and Pi3 Raspbian
|
||||
#Odroid
|
||||
if [ ."$os_codename" = ."stretch" ]; then
|
||||
php_version=7.2
|
||||
else
|
||||
php_version=5.6
|
||||
#set the version of php
|
||||
if [ ."$os_codename" = ."bullseye" ]; then
|
||||
php_version=7.4
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue