Update nginx.sh
This commit is contained in:
parent
8276c609f2
commit
595f58f038
|
|
@ -20,6 +20,9 @@ pkg install --yes nginx
|
||||||
echo 'nginx_enable="YES"' >> /etc/rc.conf
|
echo 'nginx_enable="YES"' >> /etc/rc.conf
|
||||||
echo 'php_fpm_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
|
#install dependencies
|
||||||
if [ ."$php_version" = ."5" ]; then
|
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
|
pkg install --yes php56 php56-phar php56-pgsql php56-pdo php56-pdo_pgsql php56-pdo_odbc php56-pdo_sqlite php56-json php56-gd
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue