From 792b1348c1af175f8e2e2a45d6eb36237823974e Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Sat, 4 Jan 2025 04:06:12 +0800 Subject: [PATCH] Update openssl.sh --- plugins/php/versions/common/openssl.sh | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/plugins/php/versions/common/openssl.sh b/plugins/php/versions/common/openssl.sh index 60f447db6..007e68cb1 100755 --- a/plugins/php/versions/common/openssl.sh +++ b/plugins/php/versions/common/openssl.sh @@ -114,26 +114,26 @@ Install_lib() # fi - $serverPath/php/$version/bin/phpize + # $serverPath/php/$version/bin/phpize # --with-openssl - echo "./configure --with-php-config=$serverPath/php/$version/bin/php-config $OPTIONS" - ./configure --with-php-config=$serverPath/php/$version/bin/php-config $OPTIONS - make clean && make && make install && make clean + # echo "./configure --with-php-config=$serverPath/php/$version/bin/php-config $OPTIONS" + # ./configure --with-php-config=$serverPath/php/$version/bin/php-config $OPTIONS + # make clean && make && make install && make clean - if [ -d $sourcePath/php${version} ];then - cd ${sourcePath} && rm -rf $sourcePath/php${version} - fi + # if [ -d $sourcePath/php${version} ];then + # cd ${sourcePath} && rm -rf $sourcePath/php${version} + # fi fi - if [ ! -f "$extFile" ];then - echo "ERROR!" - return - fi + # if [ ! -f "$extFile" ];then + # echo "ERROR!" + # return + # fi echo "" >> $serverPath/php/$version/etc/php.ini echo "[${LIBNAME}]" >> $serverPath/php/$version/etc/php.ini - echo "extension=${LIBNAME}.so" >> $serverPath/php/$version/etc/php.ini + # echo "extension=${LIBNAME}.so" >> $serverPath/php/$version/etc/php.ini if [ -f "/etc/ssl/certs/ca-certificates.crt" ];then echo "openssl.cafile=/etc/ssl/certs/ca-certificates.crt" >> $serverPath/php/$version/etc/php.ini elif [ -f "/etc/pki/tls/certs/ca-bundle.crt" ];then