Re: Manage PHP version during pecl install

Ferenc Kovacs <[email protected]> Sat, 26 Dec 2015 10:53:40 +0100
Newsgroups gmane.comp.php.pear.devel
Message-ID <CAH-PCH7j30KcTZPMt0DfdCTUq4N2abFFnc7zGQLqbCBu5ABkMQ@mail.gmail.com>
On Wed, Sep 23, 2015 at 9:53 PM, Christian Weiske <[email protected]>
wrote:

> Hi all,
>
>
> > >>> Digging a little in the PEAR code, I think it will be nice to
> > >>> check
> > >> I had similar thoughts in february this year; see
> > >> https://pear.php.net/bugs/bug.php?id=20507
> > > I just saw that allreleases2.xml (introduced with REST 1.3[1])
> > > contains the minimum version information
> >
> > PEAR already checks the minimum PHP version on installation:
> > https://github.com/pear/pear-core/blob/stable/PEAR/REST/13.php#L92
> >
> > PECL only needs to get support for REST 1.3, then it all will be fine.
>
> I just tried it with a test channel server and a dummy package that has
> different PHP version dependencies.
>
> PEAR correctly installed the latest package that is supports my php
> version.
>
> --
> Regards/Mit freundlichen Grüßen
> Christian Weiske
>
> -=≡ Geeking around in the name of science since 1982 ≡=-
>

I've opened a feature request about this on bugs.php.net so we won't forget
it on our side:
https://bugs.php.net/bug.php?id=71224

-- 
Ferenc Kovács
@Tyr43l - http://tyrael.hu