diff --git a/rhelphp.bash b/rhelphp.bash index 8210a16..d877983 100644 --- a/rhelphp.bash +++ b/rhelphp.bash @@ -124,7 +124,7 @@ if ! $PHP_BIN -v | grep -q "PHP 8."; then fi # 检查是否已安装 opcache 扩展 -if ! $PHP_BIN -m | grep -q "opcache"; then +if ! $PHP_BIN -m | grep -q "OPcache"; then echo "opcache 扩展未安装,无法启用 JIT" exit 1 fi