ready for packages

This commit is contained in:
henderkes
2026-05-05 11:16:16 +07:00
parent c5edacd8bf
commit 5f43d6a4b4
3 changed files with 28 additions and 4 deletions

View File

@@ -58,7 +58,10 @@ class opcache extends Extension
) {
$opcache_jit = ' --disable-opcache-jit';
}
return '--enable-opcache' . ($shared ? '=shared' : '') . $opcache_jit;
if ($phpVersionID < 80500) {
return '--enable-opcache' . ($shared ? '=shared' : '') . $opcache_jit;
}
return trim($opcache_jit);
}
public function getDistName(): string