diff --git a/plugins/php/versions/74/memcached.sh b/plugins/php/versions/74/memcached.sh index 6cb81e3e5..cba9ca2ed 100755 --- a/plugins/php/versions/74/memcached.sh +++ b/plugins/php/versions/74/memcached.sh @@ -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 \ diff --git a/plugins/php/versions/74/redis.sh b/plugins/php/versions/74/redis.sh index 972be268a..6f29cdd13 100755 --- a/plugins/php/versions/74/redis.sh +++ b/plugins/php/versions/74/redis.sh @@ -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}-* diff --git a/plugins/php/versions/74/swoole.sh b/plugins/php/versions/74/swoole.sh index f3be8e72b..86ec48fcf 100755 --- a/plugins/php/versions/74/swoole.sh +++ b/plugins/php/versions/74/swoole.sh @@ -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() diff --git a/plugins/php/versions/74/xdebug.sh b/plugins/php/versions/74/xdebug.sh index bb370b21d..b91a14728 100755 --- a/plugins/php/versions/74/xdebug.sh +++ b/plugins/php/versions/74/xdebug.sh @@ -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 diff --git a/plugins/php/versions/74/yac.sh b/plugins/php/versions/74/yac.sh index fa347d28b..105330f55 100755 --- a/plugins/php/versions/74/yac.sh +++ b/plugins/php/versions/74/yac.sh @@ -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