diff --git a/plugins/php/versions/common/xdebug.sh b/plugins/php/versions/common/xdebug.sh index 382eb2045..5911fcf7a 100755 --- a/plugins/php/versions/common/xdebug.sh +++ b/plugins/php/versions/common/xdebug.sh @@ -17,11 +17,14 @@ sysName=`uname` actionType=$1 version=$2 - -if [ "$version" -le "71" ];then +if [ "$version" -lt "70" ];then LIBV=2.2.7 fi +if [ "$version" -eq "70" ] || [ "$version" -eq "71" ];then + LIBV=2.7.0 +fi + NON_ZTS_FILENAME=`ls $serverPath/php/${version}/lib/php/extensions | grep no-debug-non-zts` extFile=$serverPath/php/${version}/lib/php/extensions/${NON_ZTS_FILENAME}/${LIBNAME}.so