From 8256da6157371bc9152b3a3c7b73d9e81bfe4571 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sat, 1 Apr 2017 03:56:09 -0600 Subject: [PATCH] Update nginx.sh Fix php-fpm --- freebsd/resources/nginx.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/freebsd/resources/nginx.sh b/freebsd/resources/nginx.sh index 7511d4d..81d3008 100755 --- a/freebsd/resources/nginx.sh +++ b/freebsd/resources/nginx.sh @@ -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