Page 1 of 1

Unable to find the socket transport "tls"

Posted: Thu Dec 07, 2006 12:22 pm
by feinstimmer
Hi, i am new with PHP and MySQL and try to learn.I am making small registration and activation script and try to send mail with Swift 2.1.1.7. through g-mail.Running on WAMP5.1.6.6 installed local.I get this error:
Connection to the given MTA failed. The Connection Interface said: Unable to find the socket transport "tls" - did you forget to enable it when you configured PHP?

What this error actually means and in which config file i have to enable it?
I looked in PHP.ini but didn't find enuthing with "tls".
Hope this is enough info.Thank you in advance!!

Posted: Thu Dec 07, 2006 3:05 pm
by feinstimmer
On other hand i have no problem sending mail using basic_smtp.php.

Posted: Thu Dec 07, 2006 4:00 pm
by Chris Corbyn
I'm not 100% with the process for enabling it in windows but basically (under linux) PHP needs to be compiled with OpenSSL for it to work. I guess in windows there is some sort of static binary to provide SSL support. Anybody? :)