Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:107798 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 31563 invoked from network); 15 Nov 2019 16:49:08 -0000 Received: from unknown (HELO php-smtp3.php.net) (208.43.231.12) by pb1.pair.com with SMTP; 15 Nov 2019 16:49:08 -0000 Received: from php-smtp3.php.net (localhost [127.0.0.1]) by php-smtp3.php.net (Postfix) with ESMTP id AC09D2D19C6 for ; Fri, 15 Nov 2019 06:41:01 -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-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) (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 06:41:01 -0800 (PST) Received: by mail-lf1-x12d.google.com with SMTP id v8so8167919lfa.12 for ; Fri, 15 Nov 2019 06:41:01 -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=qoRgMNUrKWT5JvGMDoEmv3x/+aNHYfmiJfECSr7YaAM=; b=qXfl8malZ+RXD7YEnLhZ1ByiwxGr3Z8l8a1eUgVg+Il1S9jHN8jo/ddTLCA6clh8NC 0XnuRTWJma/KF5NXzsQi2UoXeUkIOsdwbHoFBO/GahRtbyw3fmNSmLAfKLd5sNVMJ96N pjsR6u+48IsODWSElpiF25HMLNHHqu3K/rO7t340jzugQAgy6WyLsZGIkcqO3r/3et0A t0KHEOlo3R8BacVW/9Ef8EK4U7gic6hwr6nV4NgaWiF9bU8oxzR5N13VZ8B4xVQabNtG Nxle56kyo/2eedsyZHMJCgF92eh4U0AR8c1zYSR+GkwOTvYCb4xzVixObQboBH2Gl6gt HaDQ== 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=qoRgMNUrKWT5JvGMDoEmv3x/+aNHYfmiJfECSr7YaAM=; b=chdmItdTCvOMFr1vxLweoNZZCRGv1BGYHt4zXxqtmL7q3hIv+Thsg5zM1Ym61s/roC 5nymAyE7XTbQVilIPhnJgNIMqM4CaVJat8llclCOdzBkTQoQg3ySKcbBywMwlxpMn4Kk /gW6GNk5EbsJtIS4gKdRt+0/eUNV/9yo9MljsJOh54qvadMjwpKlWD/PTLIRCDXOnTwx sjIqc4PpqV+JQdVI5sELIL5GWR/AN0lT9bkt/0Pjx6FQUtXPI792Vpw2uX153y+1c2TE QBak4F5YRaIAJegEPucytaEZ/9Bafzh5C28J5LtqQ8P9DO84Y4dBt5owDXFxxEy1rgdR ntpg== X-Gm-Message-State: APjAAAWkcUAHONBWloKPlvkpBOxxQbefxo2m0oKbwZNHlm3eIA+bsTxQ XZC4ElX/wTwZRRxDXfA7oexRgcPJxbvvvKYenpk= X-Google-Smtp-Source: APXvYqyeXBGO9h+10jpm2i95I3a9aLiirASTWYigUL87engdTYaIiZrxau7baX5w75lUeQ4VxZuvG6iZkP4o8rjIS6U= X-Received: by 2002:a19:c50f:: with SMTP id w15mr11999112lfe.14.1573828859848; Fri, 15 Nov 2019 06:40:59 -0800 (PST) MIME-Version: 1.0 References: <31612431-2903-4E41-8636-C7903DA6083C@mnapoli.fr> In-Reply-To: <31612431-2903-4E41-8636-C7903DA6083C@mnapoli.fr> Date: Fri, 15 Nov 2019 15:40:41 +0100 Message-ID: To: Matthieu Napoli Cc: PHP internals Content-Type: multipart/alternative; boundary="00000000000020ecf205976396da" X-Envelope-From: Subject: Re: [PHP-DEV] Using PECL without installing PEAR From: nikita.ppv@gmail.com (Nikita Popov) --00000000000020ecf205976396da Content-Type: text/plain; charset="UTF-8" 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. Nikita --00000000000020ecf205976396da--