Show semantic versions on PHP install and correct logs

This commit is contained in:
Shivam Mathur
2019-11-30 05:58:14 +05:30
parent ddcacf4760
commit 7f32ab318e
4 changed files with 33 additions and 11 deletions

View File

@ -39,7 +39,7 @@ if ($null -eq $installed -or -not("$($installed.Version).".StartsWith(($version
$status = "Installed PHP $($installed.FullVersion)"
}
else {
$status = "Switched to PHP $($installed.FullVersion)"
$status = "PHP $($installed.FullVersion) Found"
}
Set-PhpIniKey -Key 'date.timezone' -Value 'UTC' -Path $php_dir