Bump to 7.4.0 stable on windows and macOS

This commit is contained in:
Shivam Mathur
2019-11-28 06:10:27 +05:30
parent 4ba36c5432
commit de68427afb
3 changed files with 25 additions and 12 deletions

View File

@ -33,9 +33,7 @@ if ($null -eq $installed -or -not("$($installed.Version).".StartsWith(($version
if ($version -lt '7.0') {
Install-Module -Name VcRedist -Force
}
if ($version -eq '7.4') {
$version = '7.4RC'
}
Install-Php -Version $version -Architecture x86 -ThreadSafe $true -InstallVC -Path $php_dir -TimeZone UTC -InitialPhpIni Production -Force >$null 2>&1
$installed = Get-Php -Path $php_dir
$status = "Installed PHP $($installed.FullVersion)"