forked from norman/fusionpbx-install.sh-github-mirror
* added special option --use-php5-package * parse options and export new environment variable USE_PHP5_PACKAGE * added choice between php5* or php7.0* packages (recommited) * fixed php*-fpm service name and php.ini file path (recommited) * prepare socket name for nginx to work with php5-fpm or php7.0-fpm (recommited) * added ppa:ondrej/php5-compat repo * added dependency ppa:ondrej/php repo and package software-properties-common
This commit is contained in:
6
debian/install.sh
vendored
6
debian/install.sh
vendored
@@ -157,7 +157,11 @@ server_address=$(hostname -I)
|
||||
|
||||
#restart services
|
||||
systemctl daemon-reload
|
||||
systemctl restart php7.0-fpm
|
||||
if [ .$USE_PHP5_PACKAGE = .true ]; then
|
||||
systemctl restart php5-fpm
|
||||
else
|
||||
systemctl restart php7.0-fpm
|
||||
fi
|
||||
systemctl restart nginx
|
||||
systemctl restart fail2ban
|
||||
|
||||
|
||||
Reference in New Issue
Block a user