From owner-freebsd-ports@FreeBSD.ORG Wed Sep 1 18:15:52 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 C139616A4CE; Wed, 1 Sep 2004 18:15:52 +0000 (GMT) Received: from smartmx-01.inode.at (smartmx-01.inode.at [213.229.60.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5CE2943D1F; Wed, 1 Sep 2004 18:15:52 +0000 (GMT) (envelope-from mranner@inode.at) Received: from [62.99.226.194] (port=1593 helo=[62.99.226.194]) by smartmx-01.inode.at with esmtp (Exim 4.30) id 1C2ZeB-0002SQ-4L; Wed, 01 Sep 2004 20:15:51 +0200 From: Michael Ranner To: freebsd-ports@freebsd.org Date: Wed, 1 Sep 2004 20:15:40 +0200 User-Agent: KMail/1.6.2 References: <200408291235.53851.mranner@inode.at> In-Reply-To: <200408291235.53851.mranner@inode.at> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200409012015.40429.mranner@inode.at> cc: ports@freebsd.org cc: ale@FreeBSD.org Subject: 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, 01 Sep 2004 18:15:52 -0000 Description: ------------ fsockopen() does not support SSL/TLS with shared OpenSSL extension. PHP 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. Response from pollita@php.net: ------------------------------ It's known, it's been reported (many times) and can't be fixed within the framework of PHP4. PHP5 however abstracts transports out in a way that makes it all work whether OpenSSL is compiled as a shared module or staticly. For PHP4, your only option is to compile the module staticly. To bodge dynamic registration of ssl:// and tls:// transports into PHP4 would represent a major code change which will not happen within a point release. So maybe we can optionally build static OpenSSL extension for PHP4 in FreeBSD to not break SSL support in core functions. -- /\/\ichael Ranner mranner@inode.at - mranner@jawa.at - mranner@bugat.at ----------------------------------------------------- BSD Usergroup Austria - http://www.bugat.at/ -----BEGIN GEEK CODE BLOCK----- GIT/CS/AT dx(-) s+:(++:) a- C++ UBLVS++++$ P++>+++$ L-(+)$ E--- W+++$ N+(++) o-- K- w--()$ O-(--) M@ V-(--) PS+>++ PE(-) Y+ PGP(-) t+ 5+ X+++(++++) R* tv++ b+(++) DI++ D-(--) G- e h--(*) r++ y? ------END GEEK CODE BLOCK------