From cfb9dc5ab92c11e14633b5dad1a92ccdf4c798d8 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 5 Nov 2018 23:29:49 -0700 Subject: [PATCH] Update nginx.sh --- debian/resources/nginx.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/debian/resources/nginx.sh b/debian/resources/nginx.sh index 3a9e28d..864a4fe 100755 --- a/debian/resources/nginx.sh +++ b/debian/resources/nginx.sh @@ -13,7 +13,11 @@ verbose "Installing the web server" #change the version of php for debian stretch if [ ."$os_codename" = ."stretch" ]; then - php_version=7.0 + if [ ."$cpu_architecture" = ."arm" ]; then + php_version=7.2 + else + php_version=7.0 + fi fi #if [ ."$cpu_architecture" = ."arm" ]; then