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 \ --enable-mysqlnd \
--with-mysqli=mysqlnd \ --with-mysqli=mysqlnd \
--with-pdo-mysql=mysqlnd \ --with-pdo-mysql=mysqlnd \
--enable-zip \
--enable-mbstring \ --enable-mbstring \
--enable-simplexml \ --enable-simplexml \
--enable-ftp \ --enable-ftp \

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

Loading…
Cancel
Save