From 3b235e67395726eb018ab371c7ff3b8869be4f61 Mon Sep 17 00:00:00 2001 From: Len Date: Wed, 24 Jan 2018 22:17:03 -0500 Subject: [PATCH] Update install-iis.ps1 (#146) --- windows/resources/install-iis.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/windows/resources/install-iis.ps1 b/windows/resources/install-iis.ps1 index d7d4ab2..00e5d02 100644 --- a/windows/resources/install-iis.ps1 +++ b/windows/resources/install-iis.ps1 @@ -48,7 +48,7 @@ Function Install-IIS([string]$path) { #$site.Bindings | Format-Table protocol,EndPoint,Host,SslFlags -AutoSize - #$cert = (Get-ChildItem –Path cert:\LocalMachine\My | Sort-Object NotAfter | Select-Object -Last 1).Thumbprint + #$cert = (Get-ChildItem –Path cert:\LocalMachine\My | Sort-Object NotAfter | Select-Object -Last 1).Thumbprint #netsh http delete sslcert ipport=0.0.0.0:443 #netsh http add sslcert ipport=0.0.0.0:443 certhash=$cert "appid={4dc3e181-e14b-4a21-b022-59fc669b0914}" #netsh http show sslcert @@ -70,8 +70,8 @@ Function Install-IIS([string]$path) { $iis.CommitChanges() #Add pgsql extensions to php.ini - Add-Content "c:\Program Files\PHP\v7.1\php.ini" "`n extension=php_pgsql.dll" - Add-Content "c:\Program Files\PHP\v7.1\php.ini" "`n extension=php_pdo_pgsql.dll" + Add-Content "c:\Program Files\PHP\v7.1\php.ini" "`nextension=php_pgsql.dll" + Add-Content "c:\Program Files\PHP\v7.1\php.ini" "`nextension=php_pdo_pgsql.dll" invoke-command -scriptblock {iisreset} }