Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:38519 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 9738 invoked from network); 22 Jun 2008 20:41:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Jun 2008 20:41:59 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.198.229 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.198.229 rv-out-0506.google.com Received: from [209.85.198.229] ([209.85.198.229:17832] helo=rv-out-0506.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FB/73-23032-619BE584 for ; Sun, 22 Jun 2008 16:41:58 -0400 Received: by rv-out-0506.google.com with SMTP id g37so7594528rvb.23 for ; Sun, 22 Jun 2008 13:41:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=bdwftMMQ/N8Afy1LRvu6Ac8VV6w5Sxlp3rZEaVMzqCM=; b=W98T+Lzg8QUu9iCkpbhPSHgZs8AU9vcCCL+fZc8OOggTKTMTK061Msh7is2DGNuQ1S /XF8NWH715x/Y6kB7sdQVnVppZ7FwDbkFsilqs+h4OKb0AGxXfOx525FmDhiZGOTP7Xq 98jOmwLasVCgu8uSgMmeJlPG/4rlPYtGh822c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=jhfkKVndeWu7NJWaS7CRd2qeoD9/q53GhgUcmmOd5TELlKLOLCg1gxUZHJceL7KYsi xJzJw/av5g/c64eqahqYG2y85NCcAl3O5+//ZNLICzw8Hf7uwaWiJF1LBd53Zd2l6JqU wpcwdAagZQqsFqs4oibQ9QYn8WbTSiNULB4TA= Received: by 10.140.166.21 with SMTP id o21mr11448971rve.254.1214167315212; Sun, 22 Jun 2008 13:41:55 -0700 (PDT) Received: by 10.140.178.14 with HTTP; Sun, 22 Jun 2008 13:41:55 -0700 (PDT) Message-ID: Date: Sun, 22 Jun 2008 22:41:55 +0200 To: "Steph Fox" Cc: "Greg Beaver" , "Marcus Boerger" , internals In-Reply-To: <028a01c8d4a7$18dd4380$4401a8c0@foxbox> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <028a01c8d4a7$18dd4380$4401a8c0@foxbox> Subject: Re: [PHP-DEV] OpenSSL and Phar From: pierre.php@gmail.com ("Pierre Joye") On Sun, Jun 22, 2008 at 10:32 PM, Steph Fox wrote: > It seems we don't use the openssl extension API at all in ext/phar, just the > actual OpenSSL headers and libs. That means Phar with OpenSSL support can be > both built and run without ext/openssl being built at all, but requires > third-party libs (under Windows at least - ssleay32.dll and libeay32.dll) in > the same way that ext/openssl does. > > I'm wondering if we shouldn't have a separate configuration option for this > - something like --enable-phar-ssl - rather than testing for --with-openssl > in the config line. > > The chief advantage of this approach is that it doesn't matter whether > phar-ssl is built as shared or not, since the dependency is outside PHP. > > Thoughts? --with-openssl is used by ext/openssl and will continue to be used like it is now (I'm thinking of adding --with-openssl-dir for consistency but that's all). I'm not sure it makes sense to have the ssl optional features enabled but not ext/openssl. Or to say it better, I don't see the gain. What is the gain besides being able to say: "heh you can use the ssl features without having ext/openssl but you need the libs anyway"? About the SSL ibraries on windows, they are always distributed as dll in the PHP releases. Cheers, -- Pierre http://blog.thepimp.net | http://www.libgd.org