I use xampp package ,i want to use ssl to send mail ,
I have getten a error message like this
Warning: fsockopen() [function.fsockopen]: unable to connect to ssl
I spend three hours but did not reach anything. but i'm unable to connect ssl server.
I want to list what i'm did
first check my php extentions directory in order to check
php_openssl.dll is there or not but it was there.
Then open my php.ini file but i could not see any extension=php_openssl.dll line to uncomment.
Also i searched on Google and see a people suffer from same problem with me. http://www.apachefriends.org/f/viewtopic.php?p=162623
However, i also have
ANSWER
Yes, you must open php.ini and remove the semicolon:
FROM
;extension=php_openssl.dll
TO
extension=php_openssl.dll
If you don't have that line, check that you have the file
php/ext/php_openssl.dll
and add this to php.ini in the "Dynamic Extensions" section:
[PHP_OPENSSL]
extension=php_openssl.dll
well done, GOOD LUCK