Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jul 2004 12:26:45 +0200
From:      Alex Dupre <ale@FreeBSD.org>
To:        Matthew Seaman <m.seaman@infracaninophile.co.uk>
Cc:        ports@FreeBSD.org
Subject:   Re: [HEADS UP] PHP mega-commit
Message-ID:  <40FCF365.4040706@FreeBSD.org>
In-Reply-To: <20040720100502.GB17436@happy-idiot-talk.infracaninophile.co.uk>
References:  <40F7D16F.5050503@FreeBSD.org> <20040720075504.GA53967@happy-idiot-talk.infracaninophile.co.uk> <40FCE89A.2050008@FreeBSD.org> <20040720100502.GB17436@happy-idiot-talk.infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Seaman wrote:

> Woops.  Here's another problem.  Squirrelmail seems to have lost the
> ability to connect to an IMAPS server over TLS:
> 
>     Warning: fsockopen(): no SSL support in this build in /usr/local/www/squirrelmail/functions/imap_general.php on line 445
> 
>     Warning: fsockopen(): unable to connect to imap.infracaninophile.co.uk:993 in /usr/local/www/squirrelmail/functions/imap_general.php on line 445
> 
> I've got php4-sockets, php4-openssl and php4-imap installed, and
> mail/cclient was installed WITH_SSL_AND_PLAINTEXT=yes

This is not a problem with the imap extension. That's correctly 
configured with SSL support, but imap_general.php doesn't use it, use 
the standard fsockopen() function. In PHP4, SSL support for fsockopen is 
enabled only if openssl extension is compiled in statically; with PHP5 
you have not this problem. Unfortunately there isn't a obvious solution 
for this drawback.

-- 
Alex Dupre



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40FCF365.4040706>