diff --git a/plugins/php/versions/70/install.sh b/plugins/php/versions/70/install.sh index fb6df9fac..7d66c671b 100755 --- a/plugins/php/versions/70/install.sh +++ b/plugins/php/versions/70/install.sh @@ -113,6 +113,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_10.sh + export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$serverPath/lib/openssl10/lib/pkgconfig OPTIONS="$OPTIONS --with-openssl" fi diff --git a/plugins/php/versions/71/install.sh b/plugins/php/versions/71/install.sh index 5037b4baf..e906d358e 100755 --- a/plugins/php/versions/71/install.sh +++ b/plugins/php/versions/71/install.sh @@ -115,6 +115,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_10.sh + export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$serverPath/lib/openssl10/lib/pkgconfig OPTIONS="$OPTIONS --with-openssl" fi diff --git a/plugins/php/versions/72/install.sh b/plugins/php/versions/72/install.sh index 0cdb32623..a3d5f6f98 100755 --- a/plugins/php/versions/72/install.sh +++ b/plugins/php/versions/72/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_10.sh + export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$serverPath/lib/openssl10/lib/pkgconfig OPTIONS="$OPTIONS --with-openssl" fi diff --git a/plugins/php/versions/73/install.sh b/plugins/php/versions/73/install.sh index 26442d240..038b71326 100755 --- a/plugins/php/versions/73/install.sh +++ b/plugins/php/versions/73/install.sh @@ -115,6 +115,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_10.sh + export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$serverPath/lib/openssl10/lib/pkgconfig OPTIONS="$OPTIONS --with-openssl" fi diff --git a/plugins/php/versions/74/install.sh b/plugins/php/versions/74/install.sh index 550738326..1c2500251 100755 --- a/plugins/php/versions/74/install.sh +++ b/plugins/php/versions/74/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_10.sh + export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$serverPath/lib/openssl10/lib/pkgconfig OPTIONS="$OPTIONS --with-openssl" fi