Update nginx.sh

This commit is contained in:
FusionPBX
2018-08-30 01:38:55 -06:00
committed by GitHub
parent 54dbabaa52
commit 379262fa0c

View File

@@ -61,10 +61,10 @@ apt-get update
#install dependencies #install dependencies
apt-get install -y nginx apt-get install -y nginx
if [ ."$php_version" = ."5" ]; then if [ ."$php_version" = ."5" ]; then
apt-get install -y php5 php5-cli php5-fpm php5-pgsql php5-sqlite php5-odbc php5-curl php5-imap php5-mcrypt apt-get install -y php5 php5-cli php5-fpm php5-pgsql php5-sqlite php5-odbc php5-curl php5-imap php5-mcrypt php5-gd
fi fi
if [ ."$php_version" = ."7" ]; then if [ ."$php_version" = ."7" ]; then
apt-get install -y php7.1 php7.1-cli php7.1-fpm php7.1-pgsql php7.1-sqlite3 php7.1-odbc php7.1-curl php7.1-imap php7.1-mcrypt php7.1-xml apt-get install -y php7.1 php7.1-cli php7.1-fpm php7.1-pgsql php7.1-sqlite3 php7.1-odbc php7.1-curl php7.1-imap php7.1-mcrypt php7.1-xml php7.1-gd
fi fi
#enable fusionpbx nginx config #enable fusionpbx nginx config