Update install.sh

This commit is contained in:
midoks 2022-06-29 22:48:38 +08:00
parent 4be89dd8b7
commit 398f011d2d
1 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ fi
echo "$sourcePath/php/php${PHP_VER}"
if [ ! -d $serverPath/php/${PHP_VER} ];then
cd $sourcePath/php/php${PHP_VER}
cd $sourcePath/php/php${PHP_VER} && make clean
./buildconf --force
./configure \
--prefix=$serverPath/php/${PHP_VER} \
@ -80,7 +80,7 @@ if [ ! -d $serverPath/php/${PHP_VER} ];then
--disable-fileinfo \
$OPTIONS \
--enable-fpm
make && make install && make clean
make && make install && make clean
fi
#------------------------ install end ------------------------------------#
}