Re: [PEAR-DEV] Manage PHP version during pecl install
[email protected] (Christian Weiske) Wed, 23 Sep 2015 21:53:32 +0200
| Newsgroups | php.pear.dev |
|---|---|
| Message-ID | <20150923215332.51ca8232@bogo> |
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 ≡=-
signature.asc
(application/pgp-signature, 181 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlYDAzwACgkQFMhaCCTq+CPxPwCg3aGWPtCpgIaNCK6YdogQyYfP dc4AnRrryQ14uQb0yzKDVSlSHn3/pTNz =V7R+ -----END PGP SIGNATURE-----