only disable it for x86_64

This commit is contained in:
DubbleClick 2025-08-28 11:35:46 +07:00
parent f18725083a
commit 866ca264d9

View File

@ -52,6 +52,7 @@ class opcache extends Extension
if ((SPCTarget::getTargetOS() === 'Linux' &&
SPCTarget::getLibc() === 'musl' &&
$this->builder->getOption('enable-zts') &&
GNU_ARCH === 'x86_64' &&
$phpVersionID < 80500) ||
$this->builder->getOption('disable-opcache-jit')
) {