diff --git a/plugins/php/versions/52/openssl.sh b/plugins/php/versions/52/openssl.sh index 29a8478a8..17950eef8 100755 --- a/plugins/php/versions/52/openssl.sh +++ b/plugins/php/versions/52/openssl.sh @@ -50,9 +50,10 @@ Install_lib() mv config0.m4 config.m4 fi + export PKG_CONFIG_PATH=$serverPath/lib/openssl/lib/pkgconfig $serverPath/php/$version/bin/phpize ./configure --with-php-config=$serverPath/php/$version/bin/php-config \ - --with-openssl=${serverPath}/lib/openssl + --with-openssl make clean && make && make install && make clean fi diff --git a/plugins/php/versions/53/openssl.sh b/plugins/php/versions/53/openssl.sh index 29a8478a8..17950eef8 100755 --- a/plugins/php/versions/53/openssl.sh +++ b/plugins/php/versions/53/openssl.sh @@ -50,9 +50,10 @@ Install_lib() mv config0.m4 config.m4 fi + export PKG_CONFIG_PATH=$serverPath/lib/openssl/lib/pkgconfig $serverPath/php/$version/bin/phpize ./configure --with-php-config=$serverPath/php/$version/bin/php-config \ - --with-openssl=${serverPath}/lib/openssl + --with-openssl make clean && make && make install && make clean fi diff --git a/plugins/php/versions/54/openssl.sh b/plugins/php/versions/54/openssl.sh index 29a8478a8..17950eef8 100755 --- a/plugins/php/versions/54/openssl.sh +++ b/plugins/php/versions/54/openssl.sh @@ -50,9 +50,10 @@ Install_lib() mv config0.m4 config.m4 fi + export PKG_CONFIG_PATH=$serverPath/lib/openssl/lib/pkgconfig $serverPath/php/$version/bin/phpize ./configure --with-php-config=$serverPath/php/$version/bin/php-config \ - --with-openssl=${serverPath}/lib/openssl + --with-openssl make clean && make && make install && make clean fi diff --git a/plugins/php/versions/55/openssl.sh b/plugins/php/versions/55/openssl.sh index 29a8478a8..17950eef8 100755 --- a/plugins/php/versions/55/openssl.sh +++ b/plugins/php/versions/55/openssl.sh @@ -50,9 +50,10 @@ Install_lib() mv config0.m4 config.m4 fi + export PKG_CONFIG_PATH=$serverPath/lib/openssl/lib/pkgconfig $serverPath/php/$version/bin/phpize ./configure --with-php-config=$serverPath/php/$version/bin/php-config \ - --with-openssl=${serverPath}/lib/openssl + --with-openssl make clean && make && make install && make clean fi diff --git a/plugins/php/versions/56/openssl.sh b/plugins/php/versions/56/openssl.sh index 29a8478a8..17950eef8 100755 --- a/plugins/php/versions/56/openssl.sh +++ b/plugins/php/versions/56/openssl.sh @@ -50,9 +50,10 @@ Install_lib() mv config0.m4 config.m4 fi + export PKG_CONFIG_PATH=$serverPath/lib/openssl/lib/pkgconfig $serverPath/php/$version/bin/phpize ./configure --with-php-config=$serverPath/php/$version/bin/php-config \ - --with-openssl=${serverPath}/lib/openssl + --with-openssl make clean && make && make install && make clean fi diff --git a/plugins/php/versions/70/openssl.sh b/plugins/php/versions/70/openssl.sh index 29a8478a8..17950eef8 100755 --- a/plugins/php/versions/70/openssl.sh +++ b/plugins/php/versions/70/openssl.sh @@ -50,9 +50,10 @@ Install_lib() mv config0.m4 config.m4 fi + export PKG_CONFIG_PATH=$serverPath/lib/openssl/lib/pkgconfig $serverPath/php/$version/bin/phpize ./configure --with-php-config=$serverPath/php/$version/bin/php-config \ - --with-openssl=${serverPath}/lib/openssl + --with-openssl make clean && make && make install && make clean fi diff --git a/plugins/php/versions/71/openssl.sh b/plugins/php/versions/71/openssl.sh index 29a8478a8..17950eef8 100755 --- a/plugins/php/versions/71/openssl.sh +++ b/plugins/php/versions/71/openssl.sh @@ -50,9 +50,10 @@ Install_lib() mv config0.m4 config.m4 fi + export PKG_CONFIG_PATH=$serverPath/lib/openssl/lib/pkgconfig $serverPath/php/$version/bin/phpize ./configure --with-php-config=$serverPath/php/$version/bin/php-config \ - --with-openssl=${serverPath}/lib/openssl + --with-openssl make clean && make && make install && make clean fi diff --git a/plugins/php/versions/72/openssl.sh b/plugins/php/versions/72/openssl.sh index 29a8478a8..17950eef8 100755 --- a/plugins/php/versions/72/openssl.sh +++ b/plugins/php/versions/72/openssl.sh @@ -50,9 +50,10 @@ Install_lib() mv config0.m4 config.m4 fi + export PKG_CONFIG_PATH=$serverPath/lib/openssl/lib/pkgconfig $serverPath/php/$version/bin/phpize ./configure --with-php-config=$serverPath/php/$version/bin/php-config \ - --with-openssl=${serverPath}/lib/openssl + --with-openssl make clean && make && make install && make clean fi diff --git a/plugins/php/versions/73/openssl.sh b/plugins/php/versions/73/openssl.sh index 29a8478a8..17950eef8 100755 --- a/plugins/php/versions/73/openssl.sh +++ b/plugins/php/versions/73/openssl.sh @@ -50,9 +50,10 @@ Install_lib() mv config0.m4 config.m4 fi + export PKG_CONFIG_PATH=$serverPath/lib/openssl/lib/pkgconfig $serverPath/php/$version/bin/phpize ./configure --with-php-config=$serverPath/php/$version/bin/php-config \ - --with-openssl=${serverPath}/lib/openssl + --with-openssl make clean && make && make install && make clean fi diff --git a/plugins/php/versions/74/openssl.sh b/plugins/php/versions/74/openssl.sh index cd893ed36..17950eef8 100755 --- a/plugins/php/versions/74/openssl.sh +++ b/plugins/php/versions/74/openssl.sh @@ -50,7 +50,7 @@ Install_lib() mv config0.m4 config.m4 fi - export PKG_CONFIG_PATH=/www/server/lib/openssl/lib/pkgconfig + export PKG_CONFIG_PATH=$serverPath/lib/openssl/lib/pkgconfig $serverPath/php/$version/bin/phpize ./configure --with-php-config=$serverPath/php/$version/bin/php-config \ --with-openssl diff --git a/plugins/php/versions/80/openssl.sh b/plugins/php/versions/80/openssl.sh index cd893ed36..17950eef8 100755 --- a/plugins/php/versions/80/openssl.sh +++ b/plugins/php/versions/80/openssl.sh @@ -50,7 +50,7 @@ Install_lib() mv config0.m4 config.m4 fi - export PKG_CONFIG_PATH=/www/server/lib/openssl/lib/pkgconfig + export PKG_CONFIG_PATH=$serverPath/lib/openssl/lib/pkgconfig $serverPath/php/$version/bin/phpize ./configure --with-php-config=$serverPath/php/$version/bin/php-config \ --with-openssl