Update install.sh

pull/109/head
midoks 3 years ago
parent 19689f0be8
commit 8298055a45
  1. 6
      plugins/php/versions/74/install.sh

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

Loading…
Cancel
Save