Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions PhpManager/private/Install-PhpFromUrl.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
15 { $redistName = '2017' } # PHP 7.2, PHP 7.3
16 { $redistName = '2019' } # PHP 7.4, PHP 8.0, PHP 8.1, PHP 8.2, PHP 8.3
17 { $redistName = '2022' } # PHP 8.4, PHP 8.5
18 { $redistName = '2026' } # PHP 8.6
default {
throw ('The Visual C++ ' + $PhpVersion.VCVersion + ' Redistributable seems to be missing: you have to install it manually (we can''t recognize its version)')
}
Expand Down
1 change: 1 addition & 0 deletions PhpManager/private/PhpVersion.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,7 @@ echo PHP_VERSION, chr(9), PHP_INT_SIZE * 8, chr(9), $matches[1];
'2017' { $data.VCVersion = 15 }
'2019' { $data.VCVersion = 16 }
'2022' { $data.VCVersion = 17 }
'2026' { $data.VCVersion = 18 }
default { throw "Failed to recognize VCVersion from Visual C++ $vcYear" }
}
}
Expand Down
8 changes: 4 additions & 4 deletions PhpManager/public/Get-PhpAvailableVersion.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,10 @@
}
}
if ($true) {
$result += Get-PhpVersionFromUrl -Url 'https://github.com/shivammathur/php-builder-windows/releases/download/master/php-master-nts-windows-vs16-x64.zip' -ReleaseState $State
$result += Get-PhpVersionFromUrl -Url 'https://github.com/shivammathur/php-builder-windows/releases/download/master/php-master-ts-windows-vs16-x64.zip' -ReleaseState $State
$result += Get-PhpVersionFromUrl -Url 'https://github.com/shivammathur/php-builder-windows/releases/download/master/php-master-nts-windows-vs16-x86.zip' -ReleaseState $State
$result += Get-PhpVersionFromUrl -Url 'https://github.com/shivammathur/php-builder-windows/releases/download/master/php-master-ts-windows-vs16-x86.zip' -ReleaseState $State
$result += Get-PhpVersionFromUrl -Url 'https://github.com/shivammathur/php-builder-windows/releases/download/master/php-master-nts-windows-vs18-x64.zip' -ReleaseState $State
$result += Get-PhpVersionFromUrl -Url 'https://github.com/shivammathur/php-builder-windows/releases/download/master/php-master-ts-windows-vs18-x64.zip' -ReleaseState $State
$result += Get-PhpVersionFromUrl -Url 'https://github.com/shivammathur/php-builder-windows/releases/download/master/php-master-nts-windows-vs18-x86.zip' -ReleaseState $State
$result += Get-PhpVersionFromUrl -Url 'https://github.com/shivammathur/php-builder-windows/releases/download/master/php-master-ts-windows-vs18-x86.zip' -ReleaseState $State
}
}
default {
Expand Down
Loading