Skip to content

Commit 5003c5b

Browse files
committed
fix for php-fpm on ubuntu 16.04
1 parent 65eb4c7 commit 5003c5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/vst-install-ubuntu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -870,7 +870,7 @@ fi
870870
if [ "$phpfpm" = 'yes' ]; then
871871
pool=$(find /etc/php* -type d \( -name "pool.d" -o -name "*fpm.d" \))
872872
wget $vestacp/php-fpm/www.conf -O $pool/www.conf
873-
php_fpm=$(ls /usr/sbin/php*fpm* |cut -f 4 -d /)
873+
php_fpm=$(ls /etc/init.d/php*-fpm* |cut -f 4 -d /)
874874
ln -s /etc/init.d/$php_fpm /etc/init.d/php-fpm > /dev/null 2>&1
875875
update-rc.d $php_fpm defaults
876876
service $php_fpm start

0 commit comments

Comments
 (0)