Update opcache.sh

pull/602/head
Mr Chen 11 months ago
parent 2acad0fa01
commit 77368f9908
  1. 2
      plugins/php-yum/versions/common/opcache.sh

@ -26,7 +26,7 @@ ext_dir=${cfgDir}/php${version}/php.d
ext_file=${ext_dir}/10-opcache.ini
if [ "$actionType" == 'install' ];then
yum install -y php${version}-${LIBNAME}
yum install -y php${version}-php-${LIBNAME}
echo "ls ${cfgDir}/php${version}/php.d | grep "${LIBNAME}""
find_opcache=`ls ${cfgDir}/php${version}/php.d | grep "${LIBNAME}"`
if [ "$find_opcache" == "" ];then

Loading…
Cancel
Save