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