Update opcache.sh

pull/602/head
Mr Chen 11 months ago
parent 45e46b6826
commit 10ccbc0dc2
  1. 2
      plugins/php-yum/versions/common/opcache.sh

@ -28,7 +28,7 @@ ext_file=${ext_dir}/10-opcache.ini
if [ "$actionType" == 'install' ];then
yum install -y php${version}-php-${LIBNAME}
echo "ls ${cfgDir}/php${version}/php.d | grep "${LIBNAME}.ini"| cut -d \ -f 1"
find_opcache=`ls ${cfgDir}/php${version}/php.d | grep "${LIBNAME}"| cut -d \ -f 1`
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}

Loading…
Cancel
Save