Error while installing 7.4RC
shivammathur opened this issue · comments
While installing PHP 7.4RC it gives this error
Failed to recognize VCVersion from Visual C++ 2017
At C:\Users\runneradmin\Documents\WindowsPowerShell\Modules\PhpManager\1.16.1.201\private\PhpVersion.ps1:284 char:27
+ ... default { throw "Failed to recognize VCVersion from Visual C++ $vcY ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (Failed to recog...Visual C++ 2017:String) [], RuntimeException
+ FullyQualifiedErrorId : Failed to recognize VCVersion from Visual C++ 2017
This is because in PhpVersion.ps1 the switch to check $vcYear
only has 2019 and it fails for 2017.
powershell-phpmanager/PhpManager/private/PhpVersion.ps1
Lines 282 to 285 in cbda459
Fixed in #36