diff --git a/scripts/Get-Php.ps1 b/scripts/Get-Php.ps1 index 3713d8e..530cd52 100644 --- a/scripts/Get-Php.ps1 +++ b/scripts/Get-Php.ps1 @@ -24,7 +24,7 @@ param ( [string] $Path, [Parameter(Mandatory = $false, Position = 4, HelpMessage = 'The PHP version')] [ValidateLength(1, [int]::MaxValue)] - [string] $Version = '8.3' + [string] $Version = '8.4' ) Function Get-File { diff --git a/scripts/Get-PhpNightly.ps1 b/scripts/Get-PhpNightly.ps1 index b80c976..73abf78 100644 --- a/scripts/Get-PhpNightly.ps1 +++ b/scripts/Get-PhpNightly.ps1 @@ -24,7 +24,7 @@ param ( [string] $Path, [Parameter(Mandatory = $false, Position = 4, HelpMessage = 'The PHP version')] [ValidateLength(1, [int]::MaxValue)] - [string] $Version = '8.3' + [string] $Version = '8.4' ) Function Get-File { @@ -67,7 +67,7 @@ $ts = '-nts' if($ThreadSafe) { $ts = '' } -if($Version -match '8.[0-3]') { +if($Version -match '8.[0-4]') { Install-Php -Version $Version -Architecture $Architecture -ThreadSafe $ThreadSafe -InstallVC -Path $Path -TimeZone UTC -InitialPhpIni Production -Force } else { $file = "php-$Version.0-dev$ts-Win32-vs17-$Architecture.zip"