From 595f58f03824eccb19d50c6168086ba7b570b43f Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sat, 1 Apr 2017 18:22:11 -0600 Subject: [PATCH] Update nginx.sh --- freebsd/resources/nginx.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/freebsd/resources/nginx.sh b/freebsd/resources/nginx.sh index ebfd3fc..1c8960b 100755 --- a/freebsd/resources/nginx.sh +++ b/freebsd/resources/nginx.sh @@ -20,6 +20,9 @@ pkg install --yes nginx echo 'nginx_enable="YES"' >> /etc/rc.conf echo 'php_fpm_enable="YES"' >> /etc/rc.conf +#set the default version of postgres +echo 'DEFAULT_VERSIONS+=pgsql=$database_version' >> /etc/make.conf + #install dependencies if [ ."$php_version" = ."5" ]; then pkg install --yes php56 php56-phar php56-pgsql php56-pdo php56-pdo_pgsql php56-pdo_odbc php56-pdo_sqlite php56-json php56-gd