Edit report at https://bugs.php.net/bug.php?id=55848&edit=1
ID: 55848 User updated by: mattfic...@php.net Reported by: mattfic...@php.net Summary: openssl doesn't work with unix sockets -Status: Verified +Status: Closed Type: Bug Package: OpenSSL related Operating System: Windows PHP Version: 5.4.0beta1 Block user comment: N Private report: N New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [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 ------------------------------------------------------------------------ [2011-10-08 09:14:00] pawel at prochot dot co dot uk https://bugs.php.net/bug.php?id=55870 Explains how to fix it. Just fix the spelling mistake or grab a snapshot. ------------------------------------------------------------------------ [2011-10-05 18:06:11] mattfic...@php.net I have tried 54 snapshot r317753 and it fails just like 5.4.0beta1 ------------------------------------------------------------------------ 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