Re: Using PECL without installing PEAR

From: Date: Wed, 13 Nov 2019 18:04:07 +0000
Subject: Re: Using PECL without installing PEAR
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-107791@lists.php.net to get a copy of this message
> 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.

« previous php.internals (#107791) next »