Instructions on how to get openssl extension on Win platform:
1. First of all, find php.ini that is being used by your server. If you're not certain where to look for that file, create small script in your public html named info.php, put there the following code:
<?php phpinfo(); ?>
and run the script
http://localhost/info.php , check the "Loaded Configuration File" value, it's the php.ini that is being used.
Open that php.ini and go to section "Dynamic Extensions", you'll find a bunch of lines below, looking like this:
extension=php_bz2.dll
extension=php_curl.dll
;extension=php_dba.dll
extension=php_mbstring.dll
extension=php_exif.dll
;extension=php_fileinfo.dll
extension=php_gd2.dll
extension=php_gettext.dll
;extension=php_gmp.dll
extension=php_imap.dll
(...)
Check if you can find the line:
;extension=php_openssl.dll
If there is such line, remove the ";" at the beginning, restart apache and you should be set, you can skip the next point.
2. If you can't find this line, add the following to the list:
extension=php_openssl.dll
Close php.ini (don't restart apache yet) and download the installer for OpenSSL from here:
http://www.slproweb.com/products/Win32OpenSSL.html
Select the proper version (32 or 64 bit), download it, install it. For best compatibility, during installation select the option to copy dll files to windows folder. This will put necessary dll files in respective folders. The installer might ask you to have "Visual C++ 2008 Redistributables" installed, I ignored it and I was fine.
After you install it restart apache. Openssl should be working now.
Hope this helps!
Arek