Update install.sh

This commit is contained in:
midoks 2020-07-14 08:44:31 +08:00
parent 85c80cfe28
commit b1a03e50b2
1 changed files with 4 additions and 4 deletions

View File

@ -41,11 +41,11 @@ else
OPTIONS="${OPTIONS} --with-curl"
fi
if [ ! -d $serverPath/php/54 ];then
if [ ! -d $serverPath/php/${PHP_VER} ];then
cd $sourcePath/php/php${PHP_VER} && ./configure \
--prefix=$serverPath/php/54 \
--exec-prefix=$serverPath/php/54 \
--with-config-file-path=$serverPath/php/54/etc \
--prefix=$serverPath/php/${PHP_VER} \
--exec-prefix=$serverPath/php/${PHP_VER} \
--with-config-file-path=$serverPath/php/${PHP_VER}/etc \
--with-zlib-dir=$serverPath/lib/zlib \
--enable-mysqlnd \
--enable-zip \