diff --git a/bin/setup-runtime.ps1 b/bin/setup-runtime.ps1 index 9a39dbbb..4b3a25b7 100644 --- a/bin/setup-runtime.ps1 +++ b/bin/setup-runtime.ps1 @@ -51,10 +51,11 @@ if ($action -eq 'add-path') { } # get php 8.1 specific version -$API = (Invoke-WebRequest -Uri "https://www.php.net/releases/index.php?json&version=8.4") | ConvertFrom-Json # php windows download -$PHPRuntimeUrl = "https://windows.php.net/downloads/releases/php-" + $API.version + "-nts-Win32-vs16-x64.zip" +$PHPRuntimeUrl = "https://windows.php.net/downloads/releases/archives/php-8.4.4-nts-Win32-vs17-x64.zip" +Write-Host "Downloading PHP from: " -NoNewline +Write-Host $PHPRuntimeUrl -ForegroundColor Cyan $ComposerUrl = "https://getcomposer.org/download/latest-stable/composer.phar" # create dir