On Fri, Nov 15, 2019, 3:41 PM Nikita Popov <nikita....@gmail.com> wrote:
> On Wed, Nov 13, 2019 at 5:44 PM Matthieu Napoli <matth...@mnapoli.fr> > 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 >