更新 rhelphp.bash

This commit is contained in:
enoch 2026-05-05 20:32:38 +08:00
parent ce3a692d84
commit 3caa19ef41

View File

@ -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