mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 21:04:07 -07:00
fix for php-fpm on ubuntu 16.04
This commit is contained in:
parent
65eb4c7fe8
commit
5003c5b819
1 changed files with 1 additions and 1 deletions
|
@ -870,7 +870,7 @@ fi
|
||||||
if [ "$phpfpm" = 'yes' ]; then
|
if [ "$phpfpm" = 'yes' ]; then
|
||||||
pool=$(find /etc/php* -type d \( -name "pool.d" -o -name "*fpm.d" \))
|
pool=$(find /etc/php* -type d \( -name "pool.d" -o -name "*fpm.d" \))
|
||||||
wget $vestacp/php-fpm/www.conf -O $pool/www.conf
|
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
|
ln -s /etc/init.d/$php_fpm /etc/init.d/php-fpm > /dev/null 2>&1
|
||||||
update-rc.d $php_fpm defaults
|
update-rc.d $php_fpm defaults
|
||||||
service $php_fpm start
|
service $php_fpm start
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue