From 528229a68128b626b879ca04c5ae1cd3073661a7 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 9 Oct 2018 20:50:37 -0600 Subject: [PATCH] Update nginx.sh --- debian/resources/nginx.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/debian/resources/nginx.sh b/debian/resources/nginx.sh index 8b3608b..3a9e28d 100755 --- a/debian/resources/nginx.sh +++ b/debian/resources/nginx.sh @@ -11,6 +11,11 @@ cd "$(dirname "$0")" #send a message verbose "Installing the web server" +#change the version of php for debian stretch +if [ ."$os_codename" = ."stretch" ]; then + php_version=7.0 +fi + #if [ ."$cpu_architecture" = ."arm" ]; then #9.x - */stretch/ #8.x - */jessie/