From 3c4f3a307649c2be3319d2fc1bd332eb0b8a36e5 Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Sat, 10 Oct 2020 07:28:46 +0530 Subject: [PATCH] Overwrite php_oci8.dll for PHP 8 on Windows --- src/scripts/win32.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/win32.ps1 b/src/scripts/win32.ps1 index 3289db4f..ada75091 100644 --- a/src/scripts/win32.ps1 +++ b/src/scripts/win32.ps1 @@ -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 }