Skip to content

Commit

Permalink
windows-compile-vs: fixed JIT config not being written to php.ini
Browse files Browse the repository at this point in the history
closes #208
  • Loading branch information
dktapps committed Jan 16, 2025
1 parent c746d1d commit ae94694
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions windows-compile-vs.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -610,9 +610,9 @@ append-file-utf8 "extension=php_recursionguard.dll" $php_ini
append-file-utf8 "recursionguard.enabled=0 ;disabled due to minor performance impact, only enable this if you need it for debugging" $php_ini
append-file-utf8 ";extension=php_arraydebug.dll" $php_ini
append-file-utf8 "" $php_ini
if ($PHP_JIT_ENABLE_ARG -eq "on") {
if ($PHP_JIT_ENABLE_ARG -eq "yes") {
append-file-utf8 "; ---- ! WARNING ! ----" $php_ini
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
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
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
append-file-utf8 "opcache.jit=off" $php_ini
append-file-utf8 "opcache.jit_buffer_size=128M" $php_ini
Expand Down

0 comments on commit ae94694

Please sign in to comment.