Skip to content

Commit

Permalink
Overwrite php_oci8.dll for PHP 8 on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
shivammathur committed Oct 12, 2020
1 parent 5f96786 commit 3c4f3a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/win32.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ if($version -lt "5.5") {
}
if($version -eq "master") {
"xdebug", "pcov" | ForEach-Object { Invoke-WebRequest -UseBasicParsing -Uri "https://github.com/shivammathur/php-extensions-windows/releases/latest/download/php_$env:PHPTS`_$arch`_$_.dll" -OutFile $ext_dir"\php`_$_.dll" }
Rename-Item $ext_dir\php_oci8_12c.dll -NewName $ext_dir\php_oci8.dll
Move-Item -Path $ext_dir\php_oci8_12c.dll -Destination $ext_dir\php_oci8.dll -Force
Set-PhpIniKey -Key 'opcache.jit_buffer_size' -Value '256M' -Path $php_dir
Set-PhpIniKey -Key 'opcache.jit' -Value '1235' -Path $php_dir
}
Expand Down

0 comments on commit 3c4f3a3

Please sign in to comment.