Browse Source

fix bug

main
xiaoz 4 years ago
parent
commit
6995932221
  1. 2
      php/install.sh
  2. 2
      php/run.sh

2
php/install.sh

@ -42,6 +42,8 @@ function set_php(){
#清理工作 #清理工作
function run_clean(){ function run_clean(){
apk del autoconf gcc musl-dev g++ zlib-dev make wget apk del autoconf gcc musl-dev g++ zlib-dev make wget
#清理编译
rm -rf /var/cache/apk/*
} }
install_nginx && set_php && run_clean install_nginx && set_php && run_clean

2
php/run.sh

@ -1,4 +1,4 @@
#!/bin/bash #!/bin/sh
#start nginx #start nginx
/usr/sbin/nginx /usr/sbin/nginx
echo 'start nginx success.' echo 'start nginx success.'

Loading…
Cancel
Save