pull/321/head
midoks 2 years ago
parent dc68868883
commit 293f8ab0af
  1. 1
      plugins/php/install.sh
  2. 2
      plugins/php/lib/libsodium.sh

@ -61,6 +61,7 @@ if [ "${action}" == "install" ] && [ -d ${serverPath}/php/${type} ];then
# cd /www/server/mdserver-web/plugins/php/versions/common && bash iconv.sh install 53
# cd /www/server/mdserver-web/plugins/php/versions/common && bash gd.sh install 56
# cd /www/server/mdserver-web/plugins/php/versions/common && bash openssl.sh install 56
# cd /www/server/mdserver-web/plugins/php/versions/common && bash sodium.sh install 81
cd ${rootPath}/plugins/php/versions/common && bash gd.sh install ${type}
cd ${rootPath}/plugins/php/versions/common && bash iconv.sh install ${type}
cd ${rootPath}/plugins/php/versions/common && bash exif.sh install ${type}

@ -16,7 +16,7 @@ SOURCE_ROOT=$rootPath/source/lib
VERSION=1.0.18
#----------------------------- libsodium start -------------------------#
if [ ! -d ${SERVER_ROOT}/libsodium-stable ];then
if [ ! -d ${SERVER_ROOT}/libsodium ];then
cd ${SOURCE_ROOT}
if [ ! -f ${SOURCE_ROOT}/libsodium-${VERSION}-stable.tar.gz ];then
# wget --no-check-certificate -O libsodium-1.0.18-stable.tar.gz https://download.libsodium.org/libsodium/releases/libsodium-1.0.18-stable.tar.gz -T 20

Loading…
Cancel
Save