Update opcache.sh

This commit is contained in:
Mr Chen
2024-06-14 15:58:13 +08:00
parent cc98b3322a
commit a577235ccc
+1 -1
View File
@@ -33,7 +33,7 @@ if [ "$actionType" == 'install' ];then
find_opcache=`ls ${cfgDir}/php${version}/php.d | grep "${LIBNAME}.ini"| cut -d \ -f 1`
echo $find_opcache
if [ "$find_opcache" != "" ];then
ext_file=${find_opcache}
ext_file=${ext_dir}/${find_opcache}
fi
echo $ext_file
echo "zend_extension=${LIBNAME}" >> $ext_file