From aad33a8e3512778861c41ae7db215aca93325f69 Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Fri, 29 Nov 2019 10:52:07 +0530 Subject: [PATCH] Update Update-PhpCAInfo command in win32.ps1 --- src/scripts/win32.ps1 | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/scripts/win32.ps1 b/src/scripts/win32.ps1 index 0ba5b11e..593cbecd 100644 --- a/src/scripts/win32.ps1 +++ b/src/scripts/win32.ps1 @@ -44,16 +44,7 @@ else { Set-PhpIniKey -Key 'date.timezone' -Value 'UTC' -Path $php_dir Enable-PhpExtension -Extension openssl, curl -Path $php_dir -try { - Update-PhpCAInfo -Path $php_dir -Source CurrentUser -} -catch { - try { - Update-PhpCAInfo -Path $php_dir -Source Curl - } catch { - Update-PhpCAInfo -Path $php_dir -Source Curl -SkipChecksumCheck - } -} +Update-PhpCAInfo -Path $php_dir -Source CurrentUser if ([Version]$installed.Version -ge '7.4') { Copy-Item "$dir\..\src\ext\php_pcov.dll" -Destination "$($installed.ExtensionsPath)\php_pcov.dll" }