Update swoole.sh

pull/130/head
midoks 3 years ago
parent a22e658e7e
commit e35ab3e4b8
  1. 9
      plugins/php/versions/common/swoole.sh

@ -32,8 +32,13 @@ if [ "$version" -eq "82" ];then
exit 1
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
LIB_PATH_NAME=lib
if [ -f $serverPath/php/${version}/lib64 ];then
LIB_PATH_NAME=lib64
fi
NON_ZTS_FILENAME=`ls $serverPath/php/${version}/${LIB_PATH_NAME}/php/extensions | grep no-debug-non-zts`
extFile=$serverPath/php/${version}/${LIB_PATH_NAME}/php/extensions/${NON_ZTS_FILENAME}/${LIBNAME}.so
sysName=`uname`
if [ "$sysName" == "Darwin" ];then

Loading…
Cancel
Save