mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update opcache.sh
This commit is contained in:
@@ -27,7 +27,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}"| cut -d \ -f 1"
|
||||
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`
|
||||
echo $find_opcache
|
||||
if [ "$find_opcache" != "" ];then
|
||||
|
||||
Reference in New Issue
Block a user