Date: Mon, 30 Aug 2004 09:08:24 +0200 From: Michael Ranner <mranner@jawa.at> To: freebsd-ports@freebsd.org Subject: Re: Missing SSL support in core php4 Message-ID: <200408300908.24106.mranner@jawa.at> In-Reply-To: <200408291235.53851.mranner@inode.at> References: <200408291235.53851.mranner@inode.at>
next in thread | previous in thread | raw e-mail | index | archive | help
Am Sonntag, 29. August 2004 12:35 schrieb Michael Ranner: > Hello! > > First it was a great idea to build PHP extensions from different ports like > NetBSD's pkgsrc does. But it seems, thhat one thing was overseen: > > If you build the OpenSSL extension completely not with the main PHP build, > you have no SSL support in some of the core functions like "fsockopen". > Therefore it's not possible to use the squirrelmail port with SSL or TLS > support to connect with cyrus imap or other IMAP/POP3 server software. > > So I did search for an acceptable solution, but it seems to need some > further hacking: > > If you build PHP4 with "--with-openssl=${OPENSSLBASE}" you will have SSL > support in core functions but also PGP includes the static OpenSSL > extension which conflicts with the php4-openssl port. > > Now I tried to build PHP4 with "--with-openssl=shared,${OPENSSLBASE}", you > have SSL support in core functions, but you have to prevent PHP4 from > installung the shared extension, because its not listed in pkg-plist and/or > conflicts with the php4-openssl port. > Ok, some news, PHP core functions include SSL support only if compiled with static OpenSSL extension "--with-openssl=${OPENSSLBASE}". Now it seems to me like a bug in the PHP4 build. -- /\/\ichael Ranner mranner@jawa.at - mranner@bitonline.cc - webmaster@mariazell.at ---------------------------------------------------------------------- JAWA Management Software GmbH - http://www.jawa.at/ Liebenauer Hauptstrasse 2oo - A-8041 Graz Tel +43 316 403274 21 - Fax +43 316 403274 10 ---------------------------------------------------------------------- Mariazell Online - http://www.mariazell.at/ ----------------------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408300908.24106.mranner>