From d1ff8f1cac04c88988cde154addecac5abf7323e Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Tue, 7 Jan 2025 17:06:45 +0800 Subject: [PATCH] update --- plugins/php/versions/82/install.sh | 2 ++ plugins/php/versions/83/install.sh | 2 ++ plugins/php/versions/84/install.sh | 2 ++ 3 files changed, 6 insertions(+) diff --git a/plugins/php/versions/82/install.sh b/plugins/php/versions/82/install.sh index 4a7198739..4e07fe857 100755 --- a/plugins/php/versions/82/install.sh +++ b/plugins/php/versions/82/install.sh @@ -112,6 +112,8 @@ if [ "$sysName" == "Darwin" ];then export OPENSSL_CFLAGS="-I${LIB_DEPEND_DIR}/include" export OPENSSL_LIBS="-L/${LIB_DEPEND_DIR}/lib -lssl -lcrypto -lz" else + cd ${rootPath}/plugins/php/lib && /bin/bash openssl_11.sh + export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$serverPath/lib/openssl11/lib/pkgconfig OPTIONS="$OPTIONS --with-openssl" fi diff --git a/plugins/php/versions/83/install.sh b/plugins/php/versions/83/install.sh index c40bd6121..f5912fee8 100755 --- a/plugins/php/versions/83/install.sh +++ b/plugins/php/versions/83/install.sh @@ -112,6 +112,8 @@ if [ "$sysName" == "Darwin" ];then export OPENSSL_CFLAGS="-I${LIB_DEPEND_DIR}/include" export OPENSSL_LIBS="-L/${LIB_DEPEND_DIR}/lib -lssl -lcrypto -lz" else + cd ${rootPath}/plugins/php/lib && /bin/bash openssl_11.sh + export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$serverPath/lib/openssl11/lib/pkgconfig OPTIONS="$OPTIONS --with-openssl" fi diff --git a/plugins/php/versions/84/install.sh b/plugins/php/versions/84/install.sh index f5ec7b389..85f82b1d1 100755 --- a/plugins/php/versions/84/install.sh +++ b/plugins/php/versions/84/install.sh @@ -104,6 +104,8 @@ if [ "$sysName" == "Darwin" ];then export OPENSSL_CFLAGS="-I${LIB_DEPEND_DIR}/include" export OPENSSL_LIBS="-L/${LIB_DEPEND_DIR}/lib -lssl -lcrypto -lz" else + cd ${rootPath}/plugins/php/lib && /bin/bash openssl_30.sh + export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$serverPath/lib/openssl30/lib/pkgconfig OPTIONS="$OPTIONS --with-openssl" fi