From 26b9b763ca92f609b248711aeb95fccf27fbc781 Mon Sep 17 00:00:00 2001 From: midoks Date: Sat, 11 Dec 2021 19:09:04 +0800 Subject: [PATCH] up --- plugins/php/versions/74/zip.sh | 3 ++- plugins/php/versions/80/zip.sh | 5 ++++- plugins/php/versions/81/zip.sh | 3 ++- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/plugins/php/versions/74/zip.sh b/plugins/php/versions/74/zip.sh index 79358999e..ab58ab823 100755 --- a/plugins/php/versions/74/zip.sh +++ b/plugins/php/versions/74/zip.sh @@ -47,7 +47,8 @@ Install_lib() cd $sourcePath/php${version}/ext/${LIBNAME} $serverPath/php/$version/bin/phpize - ./configure --with-php-config=$serverPath/php/$version/bin/php-config + ./configure --with-php-config=$serverPath/php/$version/bin/php-config \ + --with-zip make && make install && make clean diff --git a/plugins/php/versions/80/zip.sh b/plugins/php/versions/80/zip.sh index 79358999e..172a42fd5 100755 --- a/plugins/php/versions/80/zip.sh +++ b/plugins/php/versions/80/zip.sh @@ -29,6 +29,8 @@ else BAK='' fi +export PKG_CONFIG_PATH=/www/server/lib/libzip/lib/pkgconfig + Install_lib() { @@ -47,7 +49,8 @@ Install_lib() cd $sourcePath/php${version}/ext/${LIBNAME} $serverPath/php/$version/bin/phpize - ./configure --with-php-config=$serverPath/php/$version/bin/php-config + ./configure --with-php-config=$serverPath/php/$version/bin/php-config \ + --with-zip make && make install && make clean diff --git a/plugins/php/versions/81/zip.sh b/plugins/php/versions/81/zip.sh index 94a4fd8d1..172a42fd5 100755 --- a/plugins/php/versions/81/zip.sh +++ b/plugins/php/versions/81/zip.sh @@ -49,7 +49,8 @@ Install_lib() cd $sourcePath/php${version}/ext/${LIBNAME} $serverPath/php/$version/bin/phpize - ./configure --with-php-config=$serverPath/php/$version/bin/php-config + ./configure --with-php-config=$serverPath/php/$version/bin/php-config \ + --with-zip make && make install && make clean