File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -315,7 +315,7 @@ if [ "$HAVE_OPCACHE_JIT" == "yes" ]; then
315315 if [ $PHP_VERSION_ID -lt 80400 ]; then
316316 write_out " WARNING" " JIT in versions below PHP 8.4 is highly unstable and not recommended"
317317 else
318- write_out " WARNING" " JIT in PHP 8.4 has not been tested , use it with caution"
318+ write_out " WARNING" " JIT in PHP 8.4+ may be unstable , use it with caution"
319319 fi
320320else
321321 write_out " INFO" " JIT support in OPcache won't be compiled"
@@ -467,9 +467,11 @@ else
467467fi
468468
469469if [ " $DO_STATIC " == " yes" ]; then
470- HAVE_OPCACHE=" no" # doesn't work on static builds
471- HAVE_OPCACHE_JIT=" no"
472- write_out " warning" " OPcache cannot be used on static builds; this may have a negative effect on performance"
470+ if [ " $PHP_VERSION_ID " -lt 80500 ]; then
471+ HAVE_OPCACHE=" no"
472+ HAVE_OPCACHE_JIT=" no"
473+ write_out " warning" " OPcache cannot be used on static builds prior to PHP 8.5; this may have a negative effect on performance"
474+ fi
473475 if [ " $FSANITIZE_OPTIONS " != " " ]; then
474476 write_out " warning" " Sanitizers cannot be used on static builds"
475477 fi
You can’t perform that action at this time.
0 commit comments