Re: Manage PHP version during pecl install
| From: | Christian Weiske | Date: | Wed, 23 Sep 2015 19:53:32 +0000 |
| Subject: | Re: Manage PHP version during pecl install | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-55468@lists.php.net to get a copy of this message | ||
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 ≡=-
Attachment: [application/pgp-signature] signature.asc
Attachment: [application/pgp-signature] signature.asc