Skip to content

Commit ae94694

Browse files
committed
windows-compile-vs: fixed JIT config not being written to php.ini
closes pmmp#208
1 parent c746d1d commit ae94694

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

windows-compile-vs.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -610,9 +610,9 @@ append-file-utf8 "extension=php_recursionguard.dll" $php_ini
610610
append-file-utf8 "recursionguard.enabled=0 ;disabled due to minor performance impact, only enable this if you need it for debugging" $php_ini
611611
append-file-utf8 ";extension=php_arraydebug.dll" $php_ini
612612
append-file-utf8 "" $php_ini
613-
if ($PHP_JIT_ENABLE_ARG -eq "on") {
613+
if ($PHP_JIT_ENABLE_ARG -eq "yes") {
614614
append-file-utf8 "; ---- ! WARNING ! ----" $php_ini
615-
append-file-utf8 "; JIT can provide big performance improvements, but as of PHP %PHP_VER% it is still unstable. For this reason, it is disabled by default." $php_ini
615+
append-file-utf8 "; JIT can provide big performance improvements, but as of PHP $PHP_VER it is still unstable. For this reason, it is disabled by default." $php_ini
616616
append-file-utf8 "; Enable it at your own risk. See https://www.php.net/manual/en/opcache.configuration.php#ini.opcache.jit for possible options." $php_ini
617617
append-file-utf8 "opcache.jit=off" $php_ini
618618
append-file-utf8 "opcache.jit_buffer_size=128M" $php_ini

0 commit comments

Comments
 (0)