This commit is contained in:
midoks
2019-11-30 16:55:45 +08:00
parent 1617bd521a
commit d2160f388d
85 changed files with 217 additions and 197 deletions
+6
View File
@@ -20,6 +20,12 @@ extFile=$serverPath/php/${version}/lib/php/extensions/no-debug-non-zts-20131226/
Install_lib()
{
isInstall=`cat $serverPath/php/$version/etc/php.ini|grep "${LIBNAME}.so"`
if [ "${isInstall}" != "" ];then
echo "php-$version 已安装${LIBNAME},请选择其它版本!"
return
fi
echo "" >> $serverPath/php/$version/etc/php.ini
echo "[opcache]" >> $serverPath/php/$version/etc/php.ini
echo "zend_extension=${LIBNAME}.so" >> $serverPath/php/$version/etc/php.ini