From d967100c14593689910c56c8556419f44a75c73a Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Tue, 7 Jan 2025 16:25:52 +0800 Subject: [PATCH] update --- plugins/php/versions/80/install.sh | 2 ++ plugins/php/versions/81/install.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/plugins/php/versions/80/install.sh b/plugins/php/versions/80/install.sh index 70422c6b4..861730798 100755 --- a/plugins/php/versions/80/install.sh +++ b/plugins/php/versions/80/install.sh @@ -118,6 +118,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/81/install.sh b/plugins/php/versions/81/install.sh index 8e985772f..c1cf79c2e 100755 --- a/plugins/php/versions/81/install.sh +++ b/plugins/php/versions/81/install.sh @@ -111,6 +111,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