Update nginx.sh

Fix php-fpm
This commit is contained in:
FusionPBX 2017-04-01 03:56:09 -06:00 committed by GitHub
parent 0174f16520
commit 8256da6157
1 changed files with 1 additions and 6 deletions

View File

@ -15,12 +15,7 @@ pkg install --yes nginx
#enable nginx
echo 'nginx_enable="YES"' >> /etc/rc.conf
if [ ."$php_version" = ."5" ]; then
echo 'php5.6-fpm="YES"' >> /etc/rc.conf
fi
if [ ."$php_version" = ."7" ]; then
echo 'php7.0-fpm="YES"' >> /etc/rc.conf
fi
echo 'php_fpm_enable="YES"' >> /etc/rc.conf
#install dependencies
if [ ."$php_version" = ."5" ]; then