Update sodium.sh

This commit is contained in:
midoks 2022-12-24 21:53:10 +08:00
parent 4d90fdfe4f
commit 30f835b6b8
1 changed files with 2 additions and 2 deletions

View File

@ -51,9 +51,9 @@ Install_lib()
mkdir -p $php_lib
if [ ! -d $php_lib/${LIBNAME}-${LIBV} ];then
wget -O $php_lib/${LIBNAME}-${LIBV}.tgz http://pecl.php.net/get/lib${LIBNAME}-${LIBV}.tgz
cd $php_lib && tar xvf ${LIBNAME}-${LIBV}.tgz
cd $php_lib && tar xvf lib${LIBNAME}-${LIBV}.tgz
fi
cd $php_lib/${LIBNAME}-${LIBV}
cd $php_lib/lib${LIBNAME}-${LIBV}
$serverPath/php/$version/bin/phpize
./configure --with-php-config=$serverPath/php/$version/bin/php-config --with-sodium=$serverPath/lib/libsodium