Connecting to Gmail through IMAP with PHP - SSL context failed

前端 未结 10 1919
野的像风
野的像风 2020-12-13 14:37

I\'m trying to connect to Gmail through IMAP with PHP running in Apache. This is on an Ubuntu 9.04 system. I\'ve got some sort of PHP configuration issue that is keeping t

10条回答
  •  半阙折子戏
    2020-12-13 15:35

    One more additional thing you need enabled in PHP, is the OpenSSL extension. It appears that the IMAP Client library (with SSL) depends on this.

    It doesn't matter if Apache has the OpenSSL module enabled as this is processed/handled before the request is handed off to PHP.

    The following discussion thread may help shed some light:

    http://groups.google.com/group/comp.lang.php/browse_thread/thread/241e619bc70a8bf4/bd3ae0c6a82409bc?lnk=raot&pli=1

提交回复
热议问题