Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:107799 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 39024 invoked from network); 15 Nov 2019 17:11:51 -0000 Received: from unknown (HELO php-smtp3.php.net) (208.43.231.12) by pb1.pair.com with SMTP; 15 Nov 2019 17:11:51 -0000 Received: from php-smtp3.php.net (localhost [127.0.0.1]) by php-smtp3.php.net (Postfix) with ESMTP id EEB4F2D2050 for ; Fri, 15 Nov 2019 07:03: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.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) (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 07:03:46 -0800 (PST) Received: by mail-wr1-x433.google.com with SMTP id i10so11334871wrs.7 for ; Fri, 15 Nov 2019 07:03:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=heaNUwPzW0tsHS8zP5SM1hcqyH148YUUSkcxLKRZ3YI=; b=irekOlPdR4Keom44NMbR+jdC2W1AuzPq0iBcsU7nHK740ynmU3FGJh+KMOAOgk1lS1 oNhNQS0/CNWRwaMLRgo8123wAzlHyOi3X7outNDYTez6H78g13SSQQiGM4CMsUxWrhY9 4ZvP00ygwYdE2VmYqVNkLi1sUSllcdtOW+LteAjqsoBn9+HrzfDbg2U7J8Wj7e7/Podt pslQhMlC/MCjzuciH7A3AAus8XmMxknTGqAklGqR+FKmK+0XCyL+u6aXpXaVE1ojeDm0 clgZ1wRUysgg3sdcV15hrUw4sGcJJOcn1vDjE0jZnxyvvfkDWPJyG/6JuW8SQQZJc6Rl SkTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=heaNUwPzW0tsHS8zP5SM1hcqyH148YUUSkcxLKRZ3YI=; b=grEdqO+KgpwNgNFbViEKXqgWOijrLgdZbZHXRwFuBLP2pQfcYNfQejc4wqXCwlta9F ZO7qblSbGPtItfUUsnSYYDnjuX6akzMAlXiB6OFrBmgqy30iCVw9Shx8tQlVkucRIZ4p GqLoAqxjlgjv4oypXktJLqWQDD9Cw+hiaEi40k9dUNWesB8HxwO2Im3uT8bxdOZZD++y vJZ2aXHzBH9FCMwew6i4ydeL4JnP093D3oK0K8IiyoVmNOXGMnndV7avzUvfwuXbblCS RjvK1yuluQFmRAoeAUE5XAeJRG5TwijcBqCFjcePK8z4oDCR7Z/FAgNUUhwp5/pO6sWi ENQQ== X-Gm-Message-State: APjAAAW2XMAL/Z0EoP22PlIsKZHsdlPdPcUz8SU8W6qobQ9CP8KeN+UC eDUoyBDZTmMuHt+Vv1xmFl11juSDerIqURlbk9I0Sw== X-Google-Smtp-Source: APXvYqyLaR5+L717obqbQn8AS3cvwhz9hDULiNWJhPdYnBafuiYwlzjv7S36N70usebVhZSjfUeBis7H2/RvW+DftTg= X-Received: by 2002:adf:cc8e:: with SMTP id p14mr15041633wrj.172.1573830225275; Fri, 15 Nov 2019 07:03:45 -0800 (PST) MIME-Version: 1.0 References: <31612431-2903-4E41-8636-C7903DA6083C@mnapoli.fr> In-Reply-To: Date: Fri, 15 Nov 2019 16:03:32 +0100 Message-ID: To: Nikita Popov Cc: Matthieu Napoli , PHP internals Content-Type: multipart/alternative; boundary="00000000000083b248059763e74e" X-Envelope-From: Subject: Re: [PHP-DEV] Using PECL without installing PEAR From: pierre.php@gmail.com (Pierre Joye) --00000000000083b248059763e74e Content-Type: text/plain; charset="UTF-8" On Fri, Nov 15, 2019, 3:41 PM Nikita Popov wrote: > On Wed, Nov 13, 2019 at 5:44 PM Matthieu Napoli > wrote: > > > 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 > > > 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. > 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. Best, Pierre > --00000000000083b248059763e74e--