From 5003c5b819d60d1bd7ecd902c733ed837220f945 Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Fri, 25 Nov 2016 21:26:26 +0200 Subject: [PATCH] fix for php-fpm on ubuntu 16.04 --- install/vst-install-ubuntu.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/vst-install-ubuntu.sh b/install/vst-install-ubuntu.sh index a5c90a11..08975cd4 100755 --- a/install/vst-install-ubuntu.sh +++ b/install/vst-install-ubuntu.sh @@ -870,7 +870,7 @@ fi if [ "$phpfpm" = 'yes' ]; then pool=$(find /etc/php* -type d \( -name "pool.d" -o -name "*fpm.d" \)) wget $vestacp/php-fpm/www.conf -O $pool/www.conf - php_fpm=$(ls /usr/sbin/php*fpm* |cut -f 4 -d /) + php_fpm=$(ls /etc/init.d/php*-fpm* |cut -f 4 -d /) ln -s /etc/init.d/$php_fpm /etc/init.d/php-fpm > /dev/null 2>&1 update-rc.d $php_fpm defaults service $php_fpm start