Re: Using PECL without installing PEAR

  107790
November 13, 2019 17:52 cmbecker69@gmx.de ("Christoph M. Becker")
On 13.11.2019 at 18:38, Matthieu Napoli wrote:

>> Le 13 nov. 2019 à 18:33, Christoph M. Becker <cmbecker69@gmx.de> a écrit : >> >> On 13.11.2019 at 17:43, Matthieu Napoli wrote: >> >>> 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. >> >> Are you looking for <https://github.com/pear/pearweb_phars>?
Well, these are the PEAR installers. After downloading and running, you have a working PEAR/PECL installation. That's basically what --with-pear does. -- Christoph M. Becker
  107791
November 13, 2019 18:04 matthieu@mnapoli.fr (Matthieu Napoli)
> Le 13 nov. 2019 à 18:52, Christoph M. Becker <cmbecker69@gmx.de> a écrit : > > On 13.11.2019 at 18:38, Matthieu Napoli wrote: > >>> Le 13 nov. 2019 à 18:33, Christoph M. Becker <cmbecker69@gmx.de> a écrit : >>> >>> On 13.11.2019 at 17:43, Matthieu Napoli wrote: >>> >>>> 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. >>> >>> Are you looking for <https://github.com/pear/pearweb_phars>? > > Well, these are the PEAR installers. After downloading and running, you > have a working PEAR/PECL installation. That's basically what > --with-pear does. > > -- > Christoph M. Becker
Thanks. Then that is not what we are looking for: the goal is to be able to use PECL without having to install PEAR.