From owner-freebsd-questions@FreeBSD.ORG Sat Jul 24 01:05:18 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7347616A4CE for ; Sat, 24 Jul 2004 01:05:18 +0000 (GMT) Received: from kayjay.xs4all.nl (kayjay.xs4all.nl [80.126.33.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE5F343D46 for ; Sat, 24 Jul 2004 01:05:17 +0000 (GMT) (envelope-from karelj@kayjay.xs4all.nl) Received: from kayjay.xs4all.nl (localhost.kayjay.xs4all.nl [127.0.0.1]) by kayjay.xs4all.nl (8.12.11/8.12.11) with ESMTP id i6O154C1057148 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Sat, 24 Jul 2004 03:05:05 +0200 (CEST) (envelope-from karelj@kayjay.xs4all.nl) Received: (from karelj@localhost) by kayjay.xs4all.nl (8.12.11/8.12.11/Submit) id i6O154P2057147; Sat, 24 Jul 2004 03:05:04 +0200 (CEST) (envelope-from karelj) Date: Sat, 24 Jul 2004 03:05:03 +0200 From: "Karel J. Bosschaart" To: Ken Message-ID: <20040724010502.GA57000@kayjay.xs4all.nl> References: <410183CA.6050803@daydream.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <410183CA.6050803@daydream.net> User-Agent: Mutt/1.4.2.1i cc: freebsd-questions@freebsd.org Subject: Re: php4 and static ssl X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jul 2004 01:05:18 -0000 On Fri, Jul 23, 2004 at 04:31:54PM -0500, Ken wrote: > Since the new php4 changes happened in ports, I have a problem using > fsockopen() in my code. I'm getting: > > Warning: fsockopen(): no SSL support in this build > > A quick check with phpinfo() shows that ssl support is enabled in my > build via the extension. From what I've read, openssl needs to be > statically linked to php for there to be ssl support in fsockopen(). Can > anyone give me a clue as to how to do this with the new way that php is > now broken up in to php-extensions and such? I added "--with-openssl=/usr/local" to the Makefile (in the ports tree), under "CONFIGURE_ARGS". Not sure if that's the best/easiest/preferred way but it worked for me to get rid of above complaint (in squirrelmail). Karel.