Re: Imap SSL support (Bug #10330)

From: Date: Thu, 03 May 2001 07:32:36 +0000
Subject: Re: Imap SSL support (Bug #10330)
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-53527@lists.php.net to get a copy of this message
On Thu, May 03, 2001 at 09:28:03AM +0200, Jani Taskinen wrote: > On Thu, 3 May 2001, Alexander Bokovoy wrote: > > >> This code branch should only be triggered if HAVE_IMAP_SSL is defined, which > >> should only happen if you configure php --with-imap-ssl. If you're doing so, > >> it's assumed that you've built c-client with SSL support. > > >Current configure macros in PHP 4.0.x have flaw that breaks your > >assumption. ext/imap uses several PHP_ARG_WITH() macros in order to find > >out configuration options. When building ext/imap as standalone > >dynamically loadable module via phpize (self-contained extension), > >PHP_ARG_WITH() relies on the value of $php_always_shared (which is 'yes' > >here) so result of PHP_ARG_WITH always be 'yes' regardless of user input > >or system checks. > > You're both wrong. This is really a bug in the IMAP-2001.beta sources. > It's not possible to build it with SSL support on Unix. > > >This is known bug since early March but nobody fixed it and in general > >fixing requires serious rework of PHP4's configure macros concept. > > Submit a patch or shut up. > > --Jani > Guys (and gals), my original message was simply stating the symptoms of the 'bug' reported, then the actual solution for it. It IS imap 2000*, not php. It does not build itself with ssl unless specifically told to. The Makefile for imap explains.

« previous php.dev (#53527) next »