Manage PHP version during pecl install

From: Date: Fri, 18 Sep 2015 16:15:08 +0000
Subject: Manage PHP version during pecl install
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-55462@lists.php.net to get a copy of this message
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, With upcoming PHP 7 some extension maintainers have choose to maintain 2 different version, one for PHP 5, another for PHP 7 Ex: rrd 1.x for PHP 5, 2.x for PHP 7 pthreads 2.x for PHP 5, 3.x for PHP 7 (some other use the same version for both, simpler for user) Digging a little in the PEAR code, I think it will be nice to check extension PHP minimal version against current PHP version. But, IIUC, this will require to extend the REST schema (1.4 ?) to include this information. I think "min" is enough to avoid pecl with PHP 5 to try to pull an incompatible version. ("max" could be useful, but most old extensions don't have this information, and sometime we have max=5.99.99, sometime max=7.0.0, exclude=7.0.0) Does this sound sensible and doable ? Any thoughts ? Remi; -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlX8OIwACgkQYUppBSnxahir0gCgpV2MnNxYRDXlZuPZqhstXzoJ QKAAn3dH3E635NhQpq77mUkG5yTGMaUu =aYHw -----END PGP SIGNATURE-----

« previous php.pear.dev (#55462) next »