This commit is contained in:
midoks
2023-08-17 17:29:04 +08:00
parent 0faafc654b
commit 907851c413
2 changed files with 30 additions and 3 deletions
+3 -3
View File
@@ -91,9 +91,9 @@ Install_mysql()
OPENSSL_VERSION=`openssl version|awk '{print $2}'|awk -F '.' '{print $1}'`
if [ "${OPENSSL_VERSION}" -ge "3" ];then
#openssl version to high
cd ${rootPath}/plugins/php/lib && /bin/bash openssl.sh
export PKG_CONFIG_PATH=$serverPath/lib/openssl/lib/pkgconfig
OPTIONS="-DWITH_SSL=${serverPath}/lib/openssl"
cd ${rootPath}/plugins/php/lib && /bin/bash openssl_11.sh
export PKG_CONFIG_PATH=$serverPath/lib/openssl11/lib/pkgconfig
OPTIONS="-DWITH_SSL=${serverPath}/lib/openssl11"
fi
if [ ! -d $serverPath/mysql ];then