Page 1 of 1

Problems enabling SSL

PostPosted: 05. September 2011 07:36
by Jubic
A PHP Error was encountered

Severity: Warning

Message: fsockopen() [function.fsockopen]: unable to connect to ssl://smtp.googlemail.com:465 (Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?)

Filename: libraries/Email.php

Line Number: 1673


Ever since I updated xampp to 1.7.4, this problem has been bugging me to the core. I'm using CodeIgniter. I've tried following http://www.leoganda.net/how-to-enable-x ... transport/, but to no avail. Anyone has any solution?

Re: Problems enabling SSL

PostPosted: 05. September 2011 19:33
by JonB
Two questions -

First - what XAMPP version was this code working on before?

Second - what Windows version, and did you upgrade/move onto Windows 7 or Vista?


Good Luck
8)

Re: Problems enabling SSL

PostPosted: 06. September 2011 16:54
by Jubic
JonB wrote:Two questions -

First - what XAMPP version was this code working on before?

Second - what Windows version, and did you upgrade/move onto Windows 7 or Vista?


Good Luck
8)

First - 1.7.3
Second - I'm using Windows 7 all along.

Re: Problems enabling SSL

PostPosted: 06. September 2011 19:01
by JonB
OK -

We can dismiss one possible issue - probably not a Socket method problem in Windows.
Although it 'could' be related to a Windows Service Pack - Did you recently install Win 7 SP1??:
http://forums.bluecoat.com/viewtopic.php?f=2&t=9417

I'm probably not as expert with PHP as some others at this level of socket debugging, but I would look in these PHP threads:

http://php.net/manual/en/function.fsockopen.php

https://bugs.php.net/bug.php?id=51079

You could -install separately 1.7.3 on the machine and if it goes back to 'works', then you are down to a PHP issue, else likely OS related.

Good Luck
8)

Re: Problems enabling SSL

PostPosted: 07. September 2011 07:47
by Jubic
Thanks man, it's really SP1's issue. Uninstalled it, and it worked like a charm. No wonder my school's helpdesk recommend us to uninstall it too

Re: Problems enabling SSL

PostPosted: 07. September 2011 12:50
by JonB
WOW! COOL! I guessed it!!!! :shock:

LOL - I even surprise myself - :D

I'm glad it worked out for you...

8)