forked from norman/fusionpbx-install.sh-github-mirror
Update nginx.sh
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user