mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
Fixing nginx+php-fpm installer variant
This commit is contained in:
parent
5658a87205
commit
8203fbca22
1 changed files with 6 additions and 1 deletions
|
@ -980,7 +980,12 @@ fi
|
|||
#----------------------------------------------------------#
|
||||
|
||||
if [ "$phpfpm" = 'yes' ]; then
|
||||
if [ "$release" -eq 9 ]; then
|
||||
if [ "$release" -eq 10 ]; then
|
||||
cp -f $vestacp/php-fpm/www.conf /etc/php/7.3/fpm/pool.d/www.conf
|
||||
update-rc.d php7.3-fpm defaults
|
||||
service php7.3-fpm start
|
||||
check_result $? "php-fpm start failed"
|
||||
elif [ "$release" -eq 9 ]; then
|
||||
cp -f $vestacp/php-fpm/www.conf /etc/php/7.0/fpm/pool.d/www.conf
|
||||
update-rc.d php7.0-fpm defaults
|
||||
service php7.0-fpm start
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue