diff --git a/plugins/php/versions/70/install.sh b/plugins/php/versions/70/install.sh index 1b28abc63..fb6df9fac 100755 --- a/plugins/php/versions/70/install.sh +++ b/plugins/php/versions/70/install.sh @@ -107,8 +107,8 @@ if [ "$sysName" == "Darwin" ];then BREW_DIR=`which brew` BREW_DIR=${BREW_DIR/\/bin\/brew/} - LIB_DEPEND_DIR=`brew info openssl | grep ${BREW_DIR}/Cellar/openssl | cut -d \ -f 1 | awk 'END {print}'` - OPTIONS="$OPTIONS --with-openssl=$(brew --prefix openssl)" + LIB_DEPEND_DIR=`brew info openssl@1.0 | grep ${BREW_DIR}/Cellar/openssl@1.0 | cut -d \ -f 1 | awk 'END {print}'` + OPTIONS="$OPTIONS --with-openssl=$(brew --prefix openssl@1.0)" export PKG_CONFIG_PATH=$LIB_DEPEND_DIR/lib/pkgconfig export OPENSSL_CFLAGS="-I${LIB_DEPEND_DIR}/include" export OPENSSL_LIBS="-L/${LIB_DEPEND_DIR}/lib -lssl -lcrypto -lz" diff --git a/plugins/php/versions/71/install.sh b/plugins/php/versions/71/install.sh index 376783b52..5037b4baf 100755 --- a/plugins/php/versions/71/install.sh +++ b/plugins/php/versions/71/install.sh @@ -109,8 +109,8 @@ if [ "$sysName" == "Darwin" ];then BREW_DIR=`which brew` BREW_DIR=${BREW_DIR/\/bin\/brew/} - LIB_DEPEND_DIR=`brew info openssl | grep ${BREW_DIR}/Cellar/openssl | cut -d \ -f 1 | awk 'END {print}'` - OPTIONS="$OPTIONS --with-openssl=$(brew --prefix openssl)" + LIB_DEPEND_DIR=`brew info openssl@1.0 | grep ${BREW_DIR}/Cellar/openssl@1.0 | cut -d \ -f 1 | awk 'END {print}'` + OPTIONS="$OPTIONS --with-openssl=$(brew --prefix openssl@1.0)" export PKG_CONFIG_PATH=$LIB_DEPEND_DIR/lib/pkgconfig export OPENSSL_CFLAGS="-I${LIB_DEPEND_DIR}/include" export OPENSSL_LIBS="-L/${LIB_DEPEND_DIR}/lib -lssl -lcrypto -lz" diff --git a/plugins/php/versions/72/install.sh b/plugins/php/versions/72/install.sh index 83fd54b15..0cdb32623 100755 --- a/plugins/php/versions/72/install.sh +++ b/plugins/php/versions/72/install.sh @@ -105,8 +105,8 @@ if [ "$sysName" == "Darwin" ];then BREW_DIR=`which brew` BREW_DIR=${BREW_DIR/\/bin\/brew/} - LIB_DEPEND_DIR=`brew info openssl | grep ${BREW_DIR}/Cellar/openssl | cut -d \ -f 1 | awk 'END {print}'` - OPTIONS="$OPTIONS --with-openssl=$(brew --prefix openssl)" + LIB_DEPEND_DIR=`brew info openssl@1.0 | grep ${BREW_DIR}/Cellar/openssl@1.0 | cut -d \ -f 1 | awk 'END {print}'` + OPTIONS="$OPTIONS --with-openssl=$(brew --prefix openssl@1.0)" export PKG_CONFIG_PATH=$LIB_DEPEND_DIR/lib/pkgconfig export OPENSSL_CFLAGS="-I${LIB_DEPEND_DIR}/include" export OPENSSL_LIBS="-L/${LIB_DEPEND_DIR}/lib -lssl -lcrypto -lz" diff --git a/plugins/php/versions/73/install.sh b/plugins/php/versions/73/install.sh index f468b6c65..26442d240 100755 --- a/plugins/php/versions/73/install.sh +++ b/plugins/php/versions/73/install.sh @@ -109,8 +109,8 @@ if [ "$sysName" == "Darwin" ];then BREW_DIR=`which brew` BREW_DIR=${BREW_DIR/\/bin\/brew/} - LIB_DEPEND_DIR=`brew info openssl | grep ${BREW_DIR}/Cellar/openssl | cut -d \ -f 1 | awk 'END {print}'` - OPTIONS="$OPTIONS --with-openssl=$(brew --prefix openssl)" + LIB_DEPEND_DIR=`brew info openssl@1.0 | grep ${BREW_DIR}/Cellar/openssl@1.0 | cut -d \ -f 1 | awk 'END {print}'` + OPTIONS="$OPTIONS --with-openssl=$(brew --prefix openssl@1.0)" export PKG_CONFIG_PATH=$LIB_DEPEND_DIR/lib/pkgconfig export OPENSSL_CFLAGS="-I${LIB_DEPEND_DIR}/include" export OPENSSL_LIBS="-L/${LIB_DEPEND_DIR}/lib -lssl -lcrypto -lz" diff --git a/plugins/php/versions/74/install.sh b/plugins/php/versions/74/install.sh index 7ff0234a4..550738326 100755 --- a/plugins/php/versions/74/install.sh +++ b/plugins/php/versions/74/install.sh @@ -112,8 +112,8 @@ if [ "$sysName" == "Darwin" ];then BREW_DIR=`which brew` BREW_DIR=${BREW_DIR/\/bin\/brew/} - LIB_DEPEND_DIR=`brew info openssl | grep ${BREW_DIR}/Cellar/openssl | cut -d \ -f 1 | awk 'END {print}'` - OPTIONS="$OPTIONS --with-openssl=$(brew --prefix openssl)" + LIB_DEPEND_DIR=`brew info openssl@1.0 | grep ${BREW_DIR}/Cellar/openssl@1.0 | cut -d \ -f 1 | awk 'END {print}'` + OPTIONS="$OPTIONS --with-openssl=$(brew --prefix openssl@1.0)" export PKG_CONFIG_PATH=$LIB_DEPEND_DIR/lib/pkgconfig export OPENSSL_CFLAGS="-I${LIB_DEPEND_DIR}/include" export OPENSSL_LIBS="-L/${LIB_DEPEND_DIR}/lib -lssl -lcrypto -lz" diff --git a/plugins/php/versions/80/install.sh b/plugins/php/versions/80/install.sh index 581613c9d..70422c6b4 100755 --- a/plugins/php/versions/80/install.sh +++ b/plugins/php/versions/80/install.sh @@ -112,8 +112,8 @@ if [ "$sysName" == "Darwin" ];then BREW_DIR=`which brew` BREW_DIR=${BREW_DIR/\/bin\/brew/} - LIB_DEPEND_DIR=`brew info openssl | grep ${BREW_DIR}/Cellar/openssl | cut -d \ -f 1 | awk 'END {print}'` - OPTIONS="$OPTIONS --with-openssl=$(brew --prefix openssl)" + LIB_DEPEND_DIR=`brew info openssl@1.0 | grep ${BREW_DIR}/Cellar/openssl@1.0 | cut -d \ -f 1 | awk 'END {print}'` + OPTIONS="$OPTIONS --with-openssl=$(brew --prefix openssl@1.0)" export PKG_CONFIG_PATH=$LIB_DEPEND_DIR/lib/pkgconfig export OPENSSL_CFLAGS="-I${LIB_DEPEND_DIR}/include" export OPENSSL_LIBS="-L/${LIB_DEPEND_DIR}/lib -lssl -lcrypto -lz"