Skip to content

Commit

Permalink
Fetch SSL libs for old PHP in Windows in parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
shivammathur committed Jan 27, 2022
1 parent 8109be4 commit dcf2f7f
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 @@ -307,7 +307,7 @@ if($installed.MajorMinorVersion -ne $version) {
exit 1
}
if($version -lt "5.5") {
('libeay32.dll', 'ssleay32.dll') | ForEach-Object { Invoke-WebRequest -Uri "$php_builder/releases/download/openssl-1.0.2u/$_" -OutFile $php_dir\$_ >$null 2>&1 }
('libeay32.dll', 'ssleay32.dll') | ForEach-Object -Parallel { Invoke-WebRequest -Uri "$using:php_builder/releases/download/openssl-1.0.2u/$_" -OutFile $using:php_dir\$_ >$null 2>&1 }
} else {
$enable_extensions += ('opcache')
}
Expand Down

0 comments on commit dcf2f7f

Please sign in to comment.