mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-14 19:17:14 +08:00
Update opcache.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user