ID: 29036
Updated by: [EMAIL PROTECTED]
Reported By: josef dot spangler at rz dot uni-regensburg dot de
-Status: No Feedback
+Status: Closed
Bug Type: IMAP related
Operating System: Windows
PHP Version: 4.3.6
New Comment:
Better late than never, fixed in 5.2.2 :)
Previous Comments:
------------------------------------------------------------------------
[2005-08-25 17:29:52] dweingart at pobox dot com
[EMAIL PROTECTED] wrote:
> It won't help much since we don't build the c-client library
> on windows with SSL support.
Does this mean that the imap_* functions on the Windows platforms won't
work over SSL at all? Even with the openssl extension enabled?
If so, that's probably a documentation bug, since the IMAP section of
the manual should probably mention that the SSL-enabled examples won't
work on Windows.
------------------------------------------------------------------------
[2004-07-26 01:00:04] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2004-07-08 11:33:00] [EMAIL PROTECTED]
It won't help much since we don't build the c-client library on windows
with SSL support.. And the .dsp file should be edited too, did you to
that? (give a diff for that if you did :)
------------------------------------------------------------------------
[2004-07-06 21:18:07] josef dot spangler at rz dot uni-regensburg dot
de
Description:
------------
The php_imap extension is unable to connect over ssl to an imap server.
The reason is because the ssl engine is not initialized:
In php_imap.c Line 435 the function
ssl_onceonlyinit ();
is not called on windows systems.
The following fix will correct this:
*** php_imap.c.org Thu Jan 15 01:36:08 2004
--- php_imap.c Thu May 06 13:28:30 2004
***************
*** 427,438 ****
#ifndef PHP_WIN32
auth_link(&auth_log); /* link in the log authenticator */
auth_link(&auth_md5); /* link in the cram-md5 authenticator */
#if HAVE_IMAP_KRB && defined(HAVE_IMAP_AUTH_GSS)
auth_link(&auth_gss); /* link in the gss authenticator */
#endif
#ifdef HAVE_IMAP_SSL
ssl_onceonlyinit ();
- #endif
#endif
--- 427,438 ----
#ifndef PHP_WIN32
auth_link(&auth_log); /* link in the log authenticator */
auth_link(&auth_md5); /* link in the cram-md5 authenticator */
#if HAVE_IMAP_KRB && defined(HAVE_IMAP_AUTH_GSS)
auth_link(&auth_gss); /* link in the gss authenticator */
#endif
+ #endif
#ifdef HAVE_IMAP_SSL
ssl_onceonlyinit ();
#endif
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29036&edit=1