[php-src] Issue #13862: PECL list-upgrade doesn't seems to respect php versions
| From: | HeenaBansal20 | Date: | Mon, 01 Apr 2024 18:20:24 +0000 |
| Subject: | [php-src] Issue #13862: PECL list-upgrade doesn't seems to respect php versions | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-246692@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/13862
Author: HeenaBansal20
### Description
In PHP 7.0 env , pecl list-upgrades reccomended memcache 8.2 which requires minimum 8.0.0 above.
pecl list-upgrades
```
Channel pear.php.net: No upgrades available
pecl.php.net Available Upgrades (stable):
=========================================
Channel Package Local Remote Size
pecl.php.net memcache 4.0.5.2 (stable) 8.2 (stable) 77kB
pecl.php.net memcached 3.1.5 (stable) 3.2.0 (stable) 89kB
pecl.php.net mongodb 1.9.2 (stable) 1.18.0 (stable) 2026kB
pecl.php.net redis 5.1.1 (stable) 6.0.2 (stable) 358kB
```
PHP 8.3 env:
```
pecl list-upgrades
Channel pear.php.net: No upgrades available
pecl.php.net Available Upgrades (stable):
=========================================
Channel Package Local Remote Size
pecl.php.net mongodb 1.17.2 (stable) 1.18.0 (stable) 2026kB
```
This also seems to be broken
https://pecl.php.net/rest/r/mongodb/allreleases2.xml
doesnt work and throws 404 output.
Where as https://pecl.php.net/rest/r/mongodb/allreleases.xml`
works as expected.
I see that the fix was delivered for the same issue but doesnt seems to work < https://github.com/pear/pear-core/commit/ec8fee17c6c18656eafeb95c828aae64e8a2aa18
>
### PHP Version
PHP 8.3
### Operating System
Ubuntu22.0