|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-02-23 17:46 UTC] tony2001@php.net
[2006-02-23 21:59 UTC] krejci at ped dot muni dot cz
[2006-02-23 22:05 UTC] tony2001@php.net
[2006-03-17 20:10 UTC] stanciu dot ionut at gmail dot com
[2006-03-17 22:47 UTC] fmk@php.net
[2006-05-28 19:14 UTC] krejci at ped dot muni dot cz
[2006-05-31 18:36 UTC] mike@php.net
[2006-07-14 15:11 UTC] olivier dot monaco at free dot fr
[2006-07-30 07:33 UTC] piotr dot rezmer at ens dot net dot pl
[2006-07-30 08:16 UTC] piotr dot rezmer at ens dot net dot pl
[2007-02-19 16:07 UTC] edink@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 09 04:00:01 2025 UTC |
Description: ------------ tested on WinXPSP2+IIS5.1 and Win2003StdSP1+IIS6 loaded modules: extension=php_mbstring.dll extension=php_gd2.dll extension=php_imap.dll ;php_imap.dll md5: 29f661116b793acad732b3feb404a406 extension=php_mysql.dll extension=php_mysqli.dll extension=php_openssl.dll phpinfo shows: IMAP c-Client Version: 2004 SSL Support: enabled Reproduce code: --------------- <?php $connection = imap_open("{pop.gmail.com:995/pop3/ssl/novalidate-cert}", "username", "password"); if ($connection) { imap_close($connection); echo("OK"); } else { echo("ERROR"); } ?> Expected result: ---------------- I expect that a ssl-connection to pop.gmail.com would be established OR that at least a Warning about missing SSL support would show up. Actual result: -------------- Warning: imap_open() [function.imap-open]: Couldn't open stream {pop.gmail.com:995/pop3/ssl/novalidate-cert} in c:\Inetpub\wwwroot\test\pop-real-ssl.bugrep.php on line 2 ERROR Notice: Unknown: Can't open mailbox {pop.gmail.com:995/pop3/ssl/novalidate-cert}: invalid remote specification (errflg=2) in Unknown on line 0 No packet is actually sent. If I omit the "/ssl/novalidate-cert" part, everything works fine. It seems that the SSL support is not compiled in the windows binaries, despite of what the phpinfo says.