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