forked from norman/fusionpbx-install.sh-github-mirror
Update nginx.sh
This commit is contained in:
@@ -15,7 +15,12 @@ pkg install --yes nginx
|
|||||||
|
|
||||||
#enable nginx
|
#enable nginx
|
||||||
echo 'nginx_enable="YES"' >> /etc/rc.conf
|
echo 'nginx_enable="YES"' >> /etc/rc.conf
|
||||||
echo 'php_fpm_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
|
||||||
|
|
||||||
#install dependencies
|
#install dependencies
|
||||||
if [ ."$php_version" = ."5" ]; then
|
if [ ."$php_version" = ."5" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user