windows: Update to PHP 8.2 build rather than EOL PHP 7.4

This commit is contained in:
Michael Larabel
2023-01-21 05:44:54 -06:00
parent de3909aa1a
commit 6256e5feaa

View File

@@ -36,7 +36,7 @@ If defined PHP_BIN goto SkipBinSearch
If not exist C:\PHP\php.exe (
echo Attempting to download and setup Windows PHP release.
If not exist php.zip (
powershell -NoProfile -command "& { $ProgressPreference = 'SilentlyContinue'; iwr http://phoronix-test-suite.com/benchmark-files/php-7.4.2-Win32-vc15-x64.zip -OutFile php.zip; $ProgressPreference = 'Continue' }"
powershell -NoProfile -command "& { $ProgressPreference = 'SilentlyContinue'; iwr http://phoronix-test-suite.com/benchmark-files/php-8.2.1-Win32-vs16-x64.zip -OutFile php.zip; $ProgressPreference = 'Continue' }"
)
powershell -NoProfile -command "& { Expand-Archive php.zip -DestinationPath C:\PHP }"
If not exist VC_redist.x64.exe (