From f0ef24dcdccb476bc2ffbfecea223e67722169af Mon Sep 17 00:00:00 2001 From: xiaoz Date: Thu, 4 Mar 2021 12:51:06 +0800 Subject: [PATCH] fix bug --- php/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/php/install.sh b/php/install.sh index 3899ff5..bbc15d4 100644 --- a/php/install.sh +++ b/php/install.sh @@ -1,6 +1,7 @@ #!/bin/bash #update system apt-get update +apt-get install -y wget #install nginx function install_nginx() { cd /usr/local @@ -17,7 +18,6 @@ function install_nginx() { #备份配置文件 cd /usr/local/nginx/conf cp nginx.conf nginx.conf.bak - apt-get install -y wget wget -P /usr/local/nginx/conf https://github.com/helloxz/dnmp/raw/main/php/nginx.conf } @@ -37,7 +37,7 @@ function set_php() { && docker-php-ext-enable redis xdebug } -install_nginx && setting +install_nginx && set_php echo '-----------------------------' echo 'nginx + php install success.'