Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:80304 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 68681 invoked from network); 9 Jan 2015 11:11:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Jan 2015 11:11:13 -0000 Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 217.114.215.10 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 217.114.215.10 mail.experimentalworks.net Received: from [217.114.215.10] ([217.114.215.10:35815] helo=mail.experimentalworks.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E3/83-39109-F47BFA45 for ; Fri, 09 Jan 2015 06:11:12 -0500 Received: by mail.experimentalworks.net (Postfix, from userid 1003) id C756E48357; Fri, 9 Jan 2015 12:11:32 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on km31408.keymachine.de X-Spam-Level: * X-Spam-Status: No, score=1.4 required=3.0 tests=ALL_TRUSTED, DNS_FROM_AHBL_RHSBL autolearn=no version=3.3.2 X-Spam-HAM-Report: * 2.4 DNS_FROM_AHBL_RHSBL RBL: Envelope sender listed in dnsbl.ahbl.org * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP Received: from [192.168.2.34] (ppp-93-104-14-26.dynamic.mnet-online.de [93.104.14.26]) (using TLSv1.2 with cipher DHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: johannes@schlueters.de) by mail.experimentalworks.net (Postfix) with ESMTPSA id 12FB148356; Fri, 9 Jan 2015 12:11:31 +0100 (CET) Message-ID: <1420801864.19448.7.camel@kuechenschabe> To: Scott Arciszewski Cc: PHP internals , pureftpd@pureftpd.org Date: Fri, 09 Jan 2015 12:11:04 +0100 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] libsodium for PHP 7? From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) On Fri, 2015-01-02 at 12:05 -0500, Scott Arciszewski wrote: > Right now, the libsodium PECL package is in the beta channel. Would it be > possible to include libsodium as a core extension in PHP 7? If so, what > hurdles would need to be cleared before that happens? This should be an FAQ, maybe somebody can put it on the wiki or somewhere: For most users it doesn't matter if an extension is bundled or distributed via PECL. Once Linux/Unix distributors get a hand on it they package it as an independent package, independently from being in core or not and the user has to install the "phpX-foo" package. For Windows this is similar - most extensions are provided as dll which has to be activated. The only once for whom this is a notable difference are the ones who build PHP themselves, but for them it shouldn't be a big hurdle. Having it in PECL means that it simplifies PHP release process (one less moving piece) and the maintainers are more flexible in regards to evolving the extension API by not being bound to PHP's stricter BC rules. By being bundled (in theory) it gets more eyes looking at it (while we have enough bundled extensions which receive barely attention as a counter-prove) It has to be bundled if we want to force it on all users (we hardly do that) or some other core components depend on it. In my personal opinion we should continue moving stuff out instead of in. johannes