pull/632/head
Mr Chen 5 months ago
parent 3fd55fd5de
commit 5554ff3350
  1. 1
      plugins/php/versions/70/install.sh
  2. 5
      plugins/php/versions/common/zip.sh

@ -110,7 +110,6 @@ if [ ! -d $serverPath/php/${PHP_VER} ];then
--enable-mysqlnd \
--with-mysqli=mysqlnd \
--with-pdo-mysql=mysqlnd \
--enable-zip \
--enable-mbstring \
--enable-simplexml \
--enable-ftp \

@ -44,7 +44,7 @@ if [ ! -d $serverPath/lib/libzip ];then
cd ${rootPath}/plugins/php/lib && /bin/bash libzip.sh
fi
export PKG_CONFIG_PATH=/www/server/lib/libzip/lib/pkgconfig
export PKG_CONFIG_PATH=${serverPath}/lib/libzip/lib/pkgconfig
Install_lib()
{
@ -65,8 +65,7 @@ Install_lib()
cd $sourcePath/php${version}/ext/${LIBNAME}
$serverPath/php/$version/bin/phpize
./configure --with-php-config=$serverPath/php/$version/bin/php-config \
--with-zip
./configure --with-php-config=$serverPath/php/$version/bin/php-config --with-zip
make clean && make && make install && make clean

Loading…
Cancel
Save