Last updated on July 7, 2017
Open php.ini(C:xamppphp) with any text editor, Search for ;extension=php_openssl.dll
then remove the semicolon from the biggning, Then Restart the server.
;extension=php_openssl.dll //Change it to extension=php_openssl.dll
If you don’t have that line, check that you have the file php_openssl.dll in ext folder (C:xamppphpext) and add this to php.ini in the “Dynamic Extensions” section:
extension=php_openssl.dll