mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
up
This commit is contained in:
@@ -12,7 +12,7 @@ serverPath=$(dirname "$rootPath")
|
||||
sourcePath=${serverPath}/source/php
|
||||
|
||||
LIBNAME=memcached
|
||||
LIBV=3.1.3
|
||||
LIBV=3.1.4
|
||||
sysName=`uname`
|
||||
actionType=$1
|
||||
version=$2
|
||||
@@ -35,6 +35,8 @@ Install_lib()
|
||||
|
||||
cd $php_lib && tar xvf ${LIBNAME}-${LIBV}.tgz
|
||||
cd ${LIBNAME}-${LIBV}
|
||||
|
||||
sed -i '_bak' "3237,3238s#ulong#zend_ulong#g" $php_lib/${LIBNAME}-${LIBV}/php_memcached.c
|
||||
$serverPath/php/$version/bin/phpize
|
||||
./configure --with-php-config=$serverPath/php/$version/bin/php-config \
|
||||
--enable-memcache --with-zlib-dir=$serverPath/lib/zlib \
|
||||
|
||||
@@ -12,7 +12,7 @@ serverPath=$(dirname "$rootPath")
|
||||
sourcePath=${serverPath}/source/php
|
||||
|
||||
LIBNAME=redis
|
||||
LIBV=4.2.0
|
||||
LIBV=5.1.1
|
||||
sysName=`uname`
|
||||
actionType=$1
|
||||
version=$2
|
||||
@@ -41,7 +41,7 @@ Install_lib()
|
||||
cd ${LIBNAME}-${LIBV}
|
||||
$serverPath/php/$version/bin/phpize
|
||||
./configure --with-php-config=$serverPath/php/$version/bin/php-config
|
||||
make && make install
|
||||
make && make install && make clean
|
||||
|
||||
# cd $php_lib
|
||||
# rm -rf ${LIBNAME}-*
|
||||
|
||||
@@ -16,7 +16,7 @@ version=$2
|
||||
|
||||
|
||||
LIBNAME=swoole
|
||||
LIBV=4.3.0
|
||||
LIBV=4.4.12
|
||||
extFile=$serverPath/php/${version}/lib/php/extensions/no-debug-non-zts-20190902/${LIBNAME}.so
|
||||
|
||||
Install_lib()
|
||||
|
||||
@@ -12,7 +12,7 @@ serverPath=$(dirname "$rootPath")
|
||||
sourcePath=${serverPath}/source/php
|
||||
|
||||
LIBNAME=xdebug
|
||||
LIBV=2.7.0
|
||||
LIBV=2.8.0
|
||||
sysName=`uname`
|
||||
actionType=$1
|
||||
version=$2
|
||||
|
||||
@@ -11,8 +11,6 @@ rootPath=$(dirname "$rootPath")
|
||||
serverPath=$(dirname "$rootPath")
|
||||
sourcePath=${serverPath}/source/php
|
||||
|
||||
|
||||
|
||||
actionType=$1
|
||||
version=$2
|
||||
|
||||
@@ -30,8 +28,6 @@ Install_lib()
|
||||
fi
|
||||
|
||||
if [ ! -f "$extFile" ];then
|
||||
|
||||
|
||||
|
||||
php_lib=$sourcePath/php_lib
|
||||
|
||||
@@ -43,7 +39,7 @@ Install_lib()
|
||||
|
||||
$serverPath/php/$version/bin/phpize
|
||||
./configure --with-php-config=$serverPath/php/$version/bin/php-config
|
||||
make && make install
|
||||
make && make install && make clean
|
||||
cd ..
|
||||
rm -rf yaf-*
|
||||
rm -f package.xml
|
||||
|
||||
Reference in New Issue
Block a user