Skip to content

Commit

Permalink
Fix opcache in php 8.3 using deb.sury.org
Browse files Browse the repository at this point in the history
  • Loading branch information
joanhey committed Feb 17, 2024
1 parent 92f3471 commit 3bf15e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion t/025-opcache.t
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ location = /jit {
echo "JIT enabled\n";
} else {
# set at runtime, as is not enabled from php.ini
# ini_set("opcache.jit", "tracing");
ini_set("opcache.jit", "tracing");
echo opcache_get_status()["jit"]["enabled"] ? "JIT enabled\n" : "JIT disabled";
}
';
Expand All @@ -61,6 +61,7 @@ location = /jit-ini {
echo "jit tracing\n";
echo "jit_buffer_size 128M\n";
} else {
ini_set("opcache.jit", "tracing");
echo "jit ", ini_get("opcache.jit"), "\n";
echo "jit_buffer_size ", ini_get("opcache.jit_buffer_size"), "\n";
}
Expand Down

0 comments on commit 3bf15e6

Please sign in to comment.