mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
up
This commit is contained in:
@@ -40,10 +40,6 @@ Install_lib()
|
||||
./configure --with-php-config=$serverPath/php/$version/bin/php-config
|
||||
make && make install && make clean
|
||||
|
||||
cd $php_lib
|
||||
|
||||
rm -rf ${_LIBNAME}-${LIBV}
|
||||
rm -rf ${_LIBNAME}-${LIBV}.tgz
|
||||
fi
|
||||
|
||||
if [ ! -f "$extFile" ];then
|
||||
|
||||
@@ -42,8 +42,6 @@ Install_lib()
|
||||
--with-libmemcached-dir=$serverPath/lib/libmemcached
|
||||
make && make install && make clean
|
||||
|
||||
cd $php_lib
|
||||
rm -rf ${LIBNAME}-*
|
||||
fi
|
||||
|
||||
if [ ! -f "$extFile" ];then
|
||||
|
||||
@@ -38,8 +38,6 @@ Install_lib()
|
||||
./configure --with-php-config=$serverPath/php/$version/bin/php-config --enable-memcache --with-zlib-dir
|
||||
make && make install && make clean
|
||||
|
||||
cd $php_lib
|
||||
rm -rf ${LIBNAME}-*
|
||||
fi
|
||||
|
||||
if [ ! -f "$extFile" ];then
|
||||
|
||||
@@ -42,8 +42,6 @@ Install_lib()
|
||||
--with-libmemcached-dir=$serverPath/lib/libmemcached
|
||||
make && make install && make clean
|
||||
|
||||
cd $php_lib
|
||||
rm -rf ${LIBNAME}-*
|
||||
fi
|
||||
|
||||
if [ ! -f "$extFile" ];then
|
||||
|
||||
@@ -48,8 +48,6 @@ Install_lib()
|
||||
|
||||
make && make install && make clean
|
||||
|
||||
cd $php_lib
|
||||
rm -rf ${LIBNAME}-*
|
||||
fi
|
||||
|
||||
if [ ! -f "$extFile" ];then
|
||||
|
||||
@@ -43,8 +43,6 @@ Install_lib()
|
||||
./configure --with-php-config=$serverPath/php/$version/bin/php-config
|
||||
make && make install && make clean
|
||||
|
||||
cd $php_lib
|
||||
rm -rf ${LIBNAME}-*
|
||||
fi
|
||||
sleep 1
|
||||
if [ ! -f "$extFile" ];then
|
||||
|
||||
@@ -48,8 +48,6 @@ Install_lib()
|
||||
./configure --with-php-config=$serverPath/php/$version/bin/php-config
|
||||
make && make install && make clean
|
||||
|
||||
cd $php_lib
|
||||
rm -rf ${LIBNAME}-*
|
||||
fi
|
||||
sleep 1
|
||||
if [ ! -f "$extFile" ];then
|
||||
|
||||
@@ -48,8 +48,6 @@ Install_lib()
|
||||
./configure --with-php-config=$serverPath/php/$version/bin/php-config $OPTIONS
|
||||
make && make install && make clean
|
||||
|
||||
cd $php_lib
|
||||
rm -rf ${LIBNAME}-*
|
||||
fi
|
||||
sleep 1
|
||||
if [ ! -f "$extFile" ];then
|
||||
|
||||
@@ -45,8 +45,7 @@ Install_lib()
|
||||
./configure --with-php-config=$serverPath/php/$version/bin/php-config \
|
||||
--enable-openssl --with-openssl-dir=$serverPath/lib/openssl --enable-sockets
|
||||
make && make install && make clean
|
||||
cd ..
|
||||
rm -rf ${LIBNAME}-*
|
||||
|
||||
fi
|
||||
|
||||
while [[ ! -f "$extFile" ]];
|
||||
|
||||
@@ -42,8 +42,6 @@ Install_lib()
|
||||
--with-libmemcached-dir=$serverPath/lib/libmemcached
|
||||
make && make install && make clean
|
||||
|
||||
cd $php_lib
|
||||
rm -rf ${LIBNAME}-*
|
||||
fi
|
||||
|
||||
if [ ! -f "$extFile" ];then
|
||||
|
||||
@@ -38,8 +38,6 @@ Install_lib()
|
||||
./configure --enable-xhprof --with-php-config=$serverPath/php/$version/bin/php-config
|
||||
make && make install && make clean
|
||||
|
||||
cd $php_lib
|
||||
rm -rf ${LIBNAME}-*
|
||||
fi
|
||||
|
||||
if [ ! -f "$extFile" ];then
|
||||
|
||||
@@ -20,7 +20,7 @@ version=$2
|
||||
extFile=$serverPath/php/${version}/lib/php/extensions/no-debug-non-zts-20100525/${LIBNAME}.so
|
||||
|
||||
if [ "$version" = '70' ] || [ "$version" = '71' ] || [ "$version" = '72' ] || [ "$version" = '73' ];then
|
||||
LIBV='3.0.7';
|
||||
LIBV='3.0.7'
|
||||
fi
|
||||
|
||||
Install_lib()
|
||||
@@ -47,9 +47,7 @@ Install_lib()
|
||||
$serverPath/php/$version/bin/phpize
|
||||
./configure --with-php-config=$serverPath/php/$version/bin/php-config
|
||||
make && make install && make clean
|
||||
cd ..
|
||||
rm -rf ${LIBNAME}-*
|
||||
rm -f package.xml
|
||||
|
||||
fi
|
||||
|
||||
if [ ! -f "$extFile" ];then
|
||||
|
||||
@@ -49,9 +49,7 @@ Install_lib()
|
||||
./configure --with-php-config=$serverPath/php/$version/bin/php-config \
|
||||
--with-curl=$serverPath/lib/curl
|
||||
make && make install && make clean
|
||||
cd ..
|
||||
rm -rf ${LIBNAME}-*
|
||||
rm -f package.xml
|
||||
|
||||
fi
|
||||
|
||||
if [ ! -f "$extFile" ];then
|
||||
|
||||
Reference in New Issue
Block a user