Browse Source

Update nginx.sh

FusionPBX 7 years ago
parent
commit
6484c6d2c9
1 changed files with 5 additions and 0 deletions
  1. 5 0
      debian/resources/nginx.sh

+ 5 - 0
debian/resources/nginx.sh

@@ -8,6 +8,11 @@ cd "$(dirname "$0")"
 . ./colors.sh
 . ./colors.sh
 . ./environment.sh
 . ./environment.sh
 
 
+#change the version of php for debian stretch
+if [ ."$os_codename" = ."stretch" ]; then
+       php_version=7
+fi
+
 #send a message
 #send a message
 verbose "Installing the web server"
 verbose "Installing the web server"