Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:107801 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 66713 invoked from network); 15 Nov 2019 19:06:54 -0000 Received: from unknown (HELO php-smtp3.php.net) (208.43.231.12) by pb1.pair.com with SMTP; 15 Nov 2019 19:06:54 -0000 Received: from php-smtp3.php.net (localhost [127.0.0.1]) by php-smtp3.php.net (Postfix) with ESMTP id 7A3ED2D1FCD for ; Fri, 15 Nov 2019 08:58:46 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp3.php.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS11403 64.147.123.0/24 X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp3.php.net (Postfix) with ESMTPS for ; Fri, 15 Nov 2019 08:58:45 -0800 (PST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id DDC3C6B3; Fri, 15 Nov 2019 11:58:43 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Fri, 15 Nov 2019 11:58:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mnapoli.fr; h= content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=fm1; bh=m eYC5NjTNM6CwpcjhWvNnL5gDdymu5s0gCw9JIPj1b4=; b=B8ECD7ndVCA3Jh8IG yyUlzR2F3eMKK6WG4vIIigHtfvGtIHR+3ZVifve2llslR8t3raqDMjoIUmQcIYmy UbQwH579dRAAb11TsuOJpVS5wQjLmF99u62RxpEXeixPbVV0b2Jl4MChqDXR6dat AxdvxSmlAOJaJ1QYa8BUCUsyNMpVFut92dG/pinL40gehXK8pSpgxV8FQPMIJyLu 0BnyyF53av4aiIWsB33gLSi1lHFYQ7dLiR5Al9ZFlFIHjGjn4ptw/TWDc2uHWDtM aPzr6s9StDwj+9k3tTpp6itu4sxY9U/OQjM+VLqwFzO3jJeUxwKy4x8f5WJT5dUb TvKaQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=meYC5NjTNM6CwpcjhWvNnL5gDdymu5s0gCw9JIPj1 b4=; b=hHUSIcclfSEIMebr0X8L8cSMT+UST/mRXORFTtcV+6VlO9iF9h8UV44WO i2DJfgMBpSBrHvQUcPGVISRH1m31H2VTEZDbTkRc/iE8sgl1QNuvbCxvoa+P3pLE MoX0lisxio6oNbA6oYBoW8T1r5g4MIatSLsNyrslg44H1EWF2jLkp0JPouVSf2I7 6C0ksqNvTxW1svTmkglcZZyTwwte00Txfpd+QYhu/ACswaBOsRuIO0pjZbavd8ga eJIYDIXgGm34zqYIyFZewkn03I4zbh0UbmhEe1QktQpT/5436ucTkwUSaJ+8eLqg 7tQACVeAgnIJzFJjVOwLXd0tb6WDA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudefhedgleehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurheptggguffhjgffgffkfhfvofesthhqmhdthhdtjeenucfhrhhomhepofgrthht hhhivghuucfprghpohhlihcuoehmrghtthhhihgvuhesmhhnrghpohhlihdrfhhrqeenuc ffohhmrghinhepghhithhhuhgsrdgtohhmpdhphhhprdhnvghtnecukfhppedujeeirddu heekrdduvdegrdduuddvnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmrghtthhhihgvuh esmhhnrghpohhlihdrfhhrnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from [192.168.1.93] (static-176-158-124-112.ftth.abo.bbox.fr [176.158.124.112]) by mail.messagingengine.com (Postfix) with ESMTPA id ABEE23060061; Fri, 15 Nov 2019 11:58:42 -0500 (EST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) In-Reply-To: Date: Fri, 15 Nov 2019 17:58:40 +0100 Cc: PHP internals Content-Transfer-Encoding: quoted-printable Message-ID: References: <31612431-2903-4E41-8636-C7903DA6083C@mnapoli.fr> To: Pierre Joye X-Mailer: Apple Mail (2.3445.104.11) X-Envelope-From: Subject: Re: [PHP-DEV] Using PECL without installing PEAR From: matthieu@mnapoli.fr (Matthieu Napoli) > Le 15 nov. 2019 =C3=A0 16:03, Pierre Joye a = =C3=A9crit : >=20 > On Fri, Nov 15, 2019, 3:41 PM Nikita Popov = wrote: > On Wed, Nov 13, 2019 at 5:44 PM Matthieu Napoli = wrote: >=20 > > Hi all, > > > > Following a discussion with Nikita, I understood that [installing = PEAR > > with PHP is deprecated]( > > https://github.com/php/php-src/blob/PHP-7.4/UPGRADING#L98-L101 < > > https://github.com/php/php-src/blob/PHP-7.4/UPGRADING#L98-L101>). > > However, installing PEAR is necessary for PECL to work (it uses = PEAR). > > > > I started having a look at what could be done to use PECL without = PEAR. > > This lead me to the following question: as a first step, would it = make > > sense to provide PECL as a self-contained PHAR? > > That way users can download the PHAR and avoid install PEAR. = Following > > that we can have a look at trimming the PECL package, but the PHAR = would be > > a first step. > > > > Thanks > > > > Matthieu >=20 >=20 > I think that makes sense. The only thing we really want/need from PEAR = is > the "pecl" command, and having a single self-contained phar for that = would > be much better than requiring a global PEAR installation, and allow us = to > change the underlying implementation more easily in the future. >=20 >=20 > Also if there is an interest I can give back some love to Pickle = (https://github.com/FriendsOfPHP/pickle) and ensure it works smoothly up = to php master or 7.4/7.4+1. The phar releases support pecl.php.net, = github or any git/directory install of extensions. >=20 > Best, > Pierre Hi Pierre, I spent some time on Pickle as well. The thing isn't maintained, the = tests do not pass, I had a hard time doing anything. I still tried to = fix most of the tests here: = https://github.com/FriendsOfPHP/pickle/pull/164 but I didn't manage to = make the CI green. Removing HHVM support did make the code much cleaner, = and I think I can help as well but I am afraid that nobody will merge = anything. If you get the project going again that could be great. One main thing that could help is listing what's missing. In other = words, I don't know what to do. If Pickle works already and just need a green test suite and a new = version, then maybe we can start with that and then advertise it as a = viable replacement to PEAR? Matthieu=