Edit report at https://bugs.php.net/bug.php?id=55848&edit=1

 ID:                 55848
 Updated by:         paj...@php.net
 Reported by:        mattfic...@php.net
 Summary:            openssl doesn't work with unix sockets
-Status:             Closed
+Status:             Bogus
 Type:               Bug
 Package:            OpenSSL related
 Operating System:   Windows
 PHP Version:        5.4.0beta1
 Assigned To:        pajoye
 Block user comment: N
 Private report:     N

 New Comment:

Configuration issue caused by some minor diffs between 5.4 and 5.4


Previous Comments:
------------------------------------------------------------------------
[2011-10-12 17:37:39] paj...@php.net

The PDO and SSL issue in 5.3.8 is already fixed in SVN, it was due to a typo in 
a 
#ifdef.

------------------------------------------------------------------------
[2011-10-12 17:32:31] mattfic...@php.net

After tracing the problem, I figured out it was a problem in my configuration. 
Mysqlnd with SSL works on PHP 5.4.0 for me now, through both mysql, mysqli and 
PDO (therefore I'm closing this bug).

Note, that on PHP 5.3.8, mysql and SSL fail for me when I try to use PDO. 
However, it works on 5.3.8 through mysql and mysqli.

------------------------------------------------------------------------
[2011-10-10 20:47:00] and...@php.net

Matt, the error message comes from two places both in PHP. Once wenn crypto is 
set up and then when enabled. It probably barks already during set up and this 
got to be traced. I can't reproduce it here on Linux. Is it possible go trace 
it in a debugger and see which parts of the streams return NOT_IMPL for the 
stream?

Thanks!

------------------------------------------------------------------------
[2011-10-10 20:08:43] and...@php.net

PHP 5.3 and 5.4, and probably trunk, don't support SSL over Unix Sockets. 
Sorry! mysqlnd tries to set up SSL and PHP barks that this stream type doesn't 
support crypto.
As workaround: you have to go back using libmysql, where SSL over Unix Sockets 
works.

------------------------------------------------------------------------
[2011-10-08 09:39:35] pajoye @php.net

This bug due to this typo was only in 5.3, 5.4 and trunk were not affected as 
far as I can see

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

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


-- 
Edit this bug report at https://bugs.php.net/bug.php?id=55848&edit=1

Reply via email to