This commit is contained in:
midoks 2021-12-03 16:29:54 +08:00
parent 8a3d780b10
commit b7178469db
3 changed files with 8 additions and 3 deletions

View File

@ -16,7 +16,9 @@ LIBV=1.9.0
sysName=`uname`
actionType=$1
version=$2
extFile=$serverPath/php/${version}/lib/php/extensions/no-debug-non-zts-20210902/${LIBNAME}.so
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
if [ "$sysName" == "Darwin" ];then
BAK='_bak'

View File

@ -17,7 +17,9 @@ sysName=`uname`
actionType=$1
version=$2
extDir=$serverPath/php/${version}/lib/php/extensions/no-debug-non-zts-20210902/
NON_ZTS_FILENAME=`ls $serverPath/php/${version}/lib/php/extensions | grep no-debug-non-zts`
extDir=$serverPath/php/${version}/lib/php/extensions/${NON_ZTS_FILENAME}/
if [ "$sysName" == "Darwin" ];then
BAK='_bak'

View File

@ -17,7 +17,8 @@ sysName=`uname`
actionType=$1
version=$2
extDir=$serverPath/php/${version}/lib/php/extensions/no-debug-non-zts-20210902/
NON_ZTS_FILENAME=`ls $serverPath/php/${version}/lib/php/extensions | grep no-debug-non-zts`
extDir=$serverPath/php/${version}/lib/php/extensions/${NON_ZTS_FILENAME}/
if [ "$sysName" == "Darwin" ];then
BAK='_bak'