Update opcache.sh

This commit is contained in:
Mr Chen 2024-06-14 13:36:59 +08:00
parent d306bb4f36
commit 93cedaaa41
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ LIBNAME=opcache
cfgDir=/etc/opt/remi
if [ "$actionType" == 'install' ];then
apt install -y php${version}-${LIBNAME}
yum install -y php${version}-${LIBNAME}
echo "ls ${cfgDir}/php${version}/php.d | grep "${LIBNAME}""
find_opcache=`ls ${cfgDir}/php${version}/php.d | grep "${LIBNAME}"`
echo $find_opcache