Enable extensions required for installing composer packages

This commit is contained in:
Shivam Mathur
2022-02-01 10:11:28 +05:30
parent 8d4007321f
commit 57662657e0
2 changed files with 3 additions and 0 deletions

View File

@ -199,6 +199,7 @@ Function Add-Composertool() {
Add-Log $cross $tool "Skipped"
Return
}
Enable-PhpExtension -Extension mbstring, openssl -Path $php_dir
$log = Add-ComposertoolHelper -tool $tool -release $release -prefix $prefix -scope $scope
if(Test-Path $composer_bin\composer) {
Copy-Item -Path "$bin_dir\composer" -Destination "$composer_bin\composer" -Force