From owner-freebsd-ports@FreeBSD.ORG Wed Sep 8 06:00:57 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AADEA16A4CE; Wed, 8 Sep 2004 06:00:57 +0000 (GMT) Received: from pcwin002.win.tue.nl (pcwin002.win.tue.nl [131.155.71.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0EA6243D48; Wed, 8 Sep 2004 06:00:57 +0000 (GMT) (envelope-from stijn@pcwin002.win.tue.nl) Received: from pcwin002.win.tue.nl (localhost [127.0.0.1]) by pcwin002.win.tue.nl (8.13.1/8.13.1) with ESMTP id i8860t4r053151; Wed, 8 Sep 2004 08:00:55 +0200 (CEST) (envelope-from stijn@pcwin002.win.tue.nl) Received: (from stijn@localhost) by pcwin002.win.tue.nl (8.13.1/8.13.1/Submit) id i8860tF3053150; Wed, 8 Sep 2004 08:00:55 +0200 (CEST) (envelope-from stijn) Date: Wed, 8 Sep 2004 08:00:55 +0200 From: Stijn Hoop To: Joerg Pulz Message-ID: <20040908060055.GD48026@pcwin002.win.tue.nl> References: <200408291235.53851.mranner@inode.at> <200409012015.40429.mranner@inode.at> <20040907213346.GA48026@pcwin002.win.tue.nl> <20040908074007.X4640@hades.admin.frm2> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Ycz6tD7Th1CMF4v7" Content-Disposition: inline In-Reply-To: <20040908074007.X4640@hades.admin.frm2> User-Agent: Mutt/1.4.2.1i X-Bright-Idea: Let's abolish HTML mail! cc: ports@freebsd.org cc: Michael Ranner cc: freebsd-ports@freebsd.org cc: ale@freebsd.org Subject: Re: Static php4-openssl extension needed was: Missing SSL support in core php4 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Sep 2004 06:00:57 -0000 --Ycz6tD7Th1CMF4v7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Joerg, On Wed, Sep 08, 2004 at 07:54:55AM +0200, Joerg Pulz wrote: > On Tue, 7 Sep 2004, Stijn Hoop wrote: > > On Wed, Sep 01, 2004 at 08:15:40PM +0200, Michael Ranner wrote: > > > Description: > > > ------------ > > > fsockopen() does not support SSL/TLS with shared OpenSSL extension. P= HP > > > 4.3.8 build from FreeBSD Ports with shared extenstions. Extension is > > > loaded according phpinfo(). Squirrelmail and other applications cannot > > > use fsockopen() with tls. I need to compile PHP4 with the static > > > OpenSSL extension. > > > > I just ran into this exact same problem. What did you do to solve this? > > I'm considering adding --with-openssl=3D${OPENSSLBASE} to the port. > > Does this work? Thanks for any advice. >=20 > the same problem here for me. > attached is a small diff for lang/php4/Makefile. > run 'make config' in lang/php4-extensions and make sure that the OPENSSL= =20 > point is deselected/unchecked or if php4-openssl-... is already installed= =20 > please deinstall it to avoid conflicts. Thanks for the patch. I tried patching the port myself last night, and it worked with --with-openssl=3D/usr but your patch is cleaner. I figured the conflicting php4-openssl part out myself, by trial and error (crashing httpd's aren't any fun). > it works for me. For me too. > maybe it's a good idea to remove the OPENSSL option from=20 > lang/php4-extensions and build lang/php4 everytime with openssl or make i= t=20 > an option there. I totally agree. --Stijn --=20 Q: Why is Batman better than Bill Gates? A: Batman was able to beat the Penguin. --Ycz6tD7Th1CMF4v7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBPqAXY3r/tLQmfWcRAjawAJ9DzLImkjAhyN8zTfRlHt56c4VGbACgoX+t rQrUtJaU3aVPudh0Nz2/Ojs= =xXw4 -----END PGP SIGNATURE----- --Ycz6tD7Th1CMF4v7--