This commit is contained in:
Mr Chen
2019-03-08 18:52:37 +08:00
parent 39e7eacd83
commit 255bcc2b74
24 changed files with 1531 additions and 52 deletions
+3 -3
View File
@@ -17,7 +17,7 @@ LIBV='2.3.5'
actionType=$1
version=$2
extFile=$serverPath/php/${version}/lib/php/extensions/no-debug-non-zts-20090626/yaf.so
extFile=$serverPath/php/${version}/lib/php/extensions/no-debug-non-zts-20090626/${LIBNAME}.so
if [ "$version" = '70' ] || [ "$version" = '71' ] || [ "$version" = '72' ] || [ "$version" = '73' ];then
LIBV='3.0.7';
@@ -58,8 +58,8 @@ Install_lib()
fi
echo "" >> $serverPath/php/$version/etc/php.ini
echo "[yaf]" >> $serverPath/php/$version/etc/php.ini
echo "extension=yaf.so" >> $serverPath/php/$version/etc/php.ini
echo "[${LIBNAME}]" >> $serverPath/php/$version/etc/php.ini
echo "extension=${LIBNAME}.so" >> $serverPath/php/$version/etc/php.ini
echo "yaf.use_namespace=1" >> $serverPath/php/$version/etc/php.ini
$serverPath/php/init.d/php$version reload