Update xdebug.sh

This commit is contained in:
midoks 2022-07-11 22:24:44 +08:00
parent a1f8d8d7f4
commit 8759ea5012
1 changed files with 5 additions and 2 deletions

View File

@ -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