Update install.sh

This commit is contained in:
dami
2025-12-10 20:35:15 +08:00
parent 750a070fbb
commit 58e1302b75
+4 -3
View File
@@ -120,9 +120,10 @@ 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"
echo "lib"
# 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
echo "$sourcePath/php/php${PHP_VER}"