更新 rhelphp.bash
This commit is contained in:
parent
ce3a692d84
commit
3caa19ef41
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user