This commit is contained in:
midoks
2019-11-30 01:24:28 +08:00
parent 15e475d667
commit 1617bd521a
70 changed files with 334 additions and 316 deletions
+6
View File
@@ -20,6 +20,12 @@ extFile=$serverPath/php/${version}/lib/php/extensions/no-debug-non-zts-20180731/
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