From eb5be2842d85e956fa4bb8ec37bb63d19092377e Mon Sep 17 00:00:00 2001 From: midoks Date: Fri, 2 Dec 2022 22:51:29 +0800 Subject: [PATCH] Update openssl.sh --- plugins/php/versions/common/openssl.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/plugins/php/versions/common/openssl.sh b/plugins/php/versions/common/openssl.sh index 1802cda87..9547431d2 100755 --- a/plugins/php/versions/common/openssl.sh +++ b/plugins/php/versions/common/openssl.sh @@ -63,10 +63,11 @@ Install_lib() mv config0.m4 config.m4 fi - openssl_version=`pkg-config openssl --modversion` - if [ "$version" -lt "70" ];then - export PKG_CONFIG_PATH=$serverPath/lib/openssl10/lib/pkgconfig - fi + # openssl_version=`pkg-config openssl --modversion` + export PKG_CONFIG_PATH=$serverPath/lib/openssl10/lib/pkgconfig + # if [ "$version" -lt "70" ];then + # export PKG_CONFIG_PATH=$serverPath/lib/openssl10/lib/pkgconfig + # fi $serverPath/php/$version/bin/phpize ./configure --with-php-config=$serverPath/php/$version/bin/php-config \