Skip to content

PECL list-upgrade doesn't seems to respect php versions #13862

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
HeenaBansal20 opened this issue Apr 1, 2024 · 4 comments
Closed

PECL list-upgrade doesn't seems to respect php versions #13862

HeenaBansal20 opened this issue Apr 1, 2024 · 4 comments

Comments

@HeenaBansal20
Copy link

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 < pear/pear-core@ec8fee1 >

PHP Version

PHP 8.3

Operating System

Ubuntu22.0

@derickr
Copy link
Member

derickr commented Apr 1, 2024 via email

@HeenaBansal20
Copy link
Author

HeenaBansal20 commented Apr 1, 2024

The PECL tool is not capable of checking for version compatibility with PHP. The new tool that we are working on, will be able to do this. This is a #wontfix

hmm , But I see PEAR provide REST API called allreleases2.xml which can lists all stable releases along with min PHP requirement and actually can serve my purpose also doesn't work. Is that service is somehow broken.

@iluuu1994
Copy link
Member

@HeenaBansal20 I think at this point the issue is that nobody is familiar enough to fix pear/pecl. At the same time, we're actively working on a replacement, and as such any investment in the old tool does not seem worthwhile. @derickr Should we close this issue then?

@HeenaBansal20
Copy link
Author

Thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants