forked from norman/fusionpbx-install.sh-github-mirror
Use php 7.4 for Raspberry Pi 4 - based on Debian 11
This commit is contained in:
9
debian/resources/nginx.sh
vendored
9
debian/resources/nginx.sh
vendored
@@ -13,12 +13,9 @@ verbose "Installing the web server"
|
|||||||
|
|
||||||
#change the version of php for arm
|
#change the version of php for arm
|
||||||
if [ ."$cpu_architecture" = ."arm" ]; then
|
if [ ."$cpu_architecture" = ."arm" ]; then
|
||||||
#Pi2 and Pi3 Raspbian
|
#set the version of php
|
||||||
#Odroid
|
if [ ."$os_codename" = ."bullseye" ]; then
|
||||||
if [ ."$os_codename" = ."stretch" ]; then
|
php_version=7.4
|
||||||
php_version=7.2
|
|
||||||
else
|
|
||||||
php_version=5.6
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user