mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
up
This commit is contained in:
@@ -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,9 +42,7 @@ 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
|
||||
|
||||
@@ -41,8 +41,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,8 @@ 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" ]];
|
||||
|
||||
@@ -40,8 +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}-*
|
||||
fi
|
||||
|
||||
if [ ! -f "$extFile" ];then
|
||||
|
||||
@@ -39,8 +39,6 @@ Install_lib()
|
||||
--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
|
||||
|
||||
@@ -38,9 +38,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 yaf-*
|
||||
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
|
||||
|
||||
@@ -37,12 +37,10 @@ Install_lib()
|
||||
wget -O $php_lib/zend-loader-php5.6.tar.gz http://downloads.zend.com/guard/7.0.0/zend-loader-php5.6-linux-x86_64_update1.tar.gz
|
||||
fi
|
||||
|
||||
|
||||
cd $php_lib && tar xvf zend-loader-php5.6.tar.gz
|
||||
cd zend-loader-php5.6*
|
||||
cp ZendGuardLoader.so $serverPath/php/$version/lib/php/extensions/no-debug-non-zts-20131226/
|
||||
|
||||
rm -rf $php_lib/zend-loader-php5.6*
|
||||
fi
|
||||
|
||||
if [ ! -f "$extFile" ];then
|
||||
|
||||
Reference in New Issue
Block a user