From 0f3b87aa8503a83bfe9cbd3f527eadb5302d518a Mon Sep 17 00:00:00 2001 From: amidevous Date: Thu, 19 Oct 2023 06:12:56 +0200 Subject: [PATCH] Update build-php.sh --- build-php.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build-php.sh b/build-php.sh index 12142cb..e35d307 100644 --- a/build-php.sh +++ b/build-php.sh @@ -31,6 +31,7 @@ elif [ -f /etc/os-release ]; then VER=$(uname -r) fi ARCH=$(uname -m) +mkdir -p /root/phpbuild/ cd /root/phpbuild/ wget --no-check-certificate https://www.php.net/distributions/php-7.4.33.tar.gz -O /root/phpbuild/php-7.4.33.tar.gz rm -rf /root/phpbuild/php-7.4.33 @@ -53,3 +54,5 @@ killall php-fpm killall php killall php-fpm make install +cd /root +rm -rf /root/phpbuild/