mirror of
				https://github.com/shivammathur/setup-php.git
				synced 2025-10-31 23:36:21 +07:00 
			
		
		
		
	Enable ext-curl on windows
This commit is contained in:
		| @ -39,8 +39,9 @@ Add-Content C:\tools\php\php.ini "date.timezone = 'UTC'" | ||||
| Set-PhpIniKey extension_dir $ext_dir | ||||
| if($version -lt '7.4') { | ||||
|   Enable-PhpExtension openssl | ||||
|   Enable-PhpExtension curl | ||||
| } else { | ||||
|   Add-Content C:\tools\php\php.ini "extension=php_openssl.dll" | ||||
|   Add-Content C:\tools\php\php.ini "extension=php_openssl.dll`nextension=php_curl.dll" | ||||
|   Copy-Item "php_pcov.dll" -Destination $ext_dir"\php_pcov.dll" | ||||
| } | ||||
| Add-Log $tick "PHP" $status | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Shivam Mathur
					Shivam Mathur