mirror of
				https://github.com/shivammathur/setup-php.git
				synced 2025-10-30 23:07:56 +07:00 
			
		
		
		
	Update Update-PhpCAInfo command in win32.ps1
This commit is contained in:
		| @ -44,16 +44,7 @@ else { | ||||
|  | ||||
| Set-PhpIniKey -Key 'date.timezone' -Value 'UTC' -Path $php_dir | ||||
| Enable-PhpExtension -Extension openssl, curl -Path $php_dir | ||||
| try { | ||||
|   Update-PhpCAInfo -Path $php_dir -Source CurrentUser | ||||
| } | ||||
| catch { | ||||
|   try { | ||||
|     Update-PhpCAInfo -Path $php_dir -Source Curl | ||||
|   } catch { | ||||
|     Update-PhpCAInfo -Path $php_dir -Source Curl -SkipChecksumCheck | ||||
|   } | ||||
| } | ||||
| Update-PhpCAInfo -Path $php_dir -Source CurrentUser | ||||
| if ([Version]$installed.Version -ge '7.4') { | ||||
|   Copy-Item "$dir\..\src\ext\php_pcov.dll" -Destination "$($installed.ExtensionsPath)\php_pcov.dll" | ||||
| } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Shivam Mathur
					Shivam Mathur