Skip to content

Commit 7f02fbb

Browse files
committed
Let Install-PhpExtension be a bit more verbose
1 parent 3c654bf commit 7f02fbb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

PhpManager/public/Install-PhpExtension.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,10 @@
140140
Write-Verbose ("Installing new extension '{0}' version {1}" -f $newExtension.Name, $newExtension.Version)
141141
Install-PhpExtensionPrerequisite -PhpVersion $phpVersion -Extension $newExtension
142142
$newExtensionFilename = [System.IO.Path]::Combine($phpVersion.ExtensionsPath, [System.IO.Path]::GetFileName($dllPath))
143+
Write-Verbose "Moving ""$dllPath"" to ""$newExtensionFilename"""
143144
Move-Item -Path $dllPath -Destination $newExtensionFilename
144145
if (-Not($DontEnable)) {
146+
Write-Verbose "Enabling extension ""$($newExtension.Name)"" for ""$($phpVersion.ExecutablePath)"""
145147
Enable-PhpExtension -Extension $newExtension.Name -Path $phpVersion.ExecutablePath
146148
}
147149
}

0 commit comments

Comments
 (0)